diff options
Diffstat (limited to 'misc/config/cc/mipspro')
-rw-r--r-- | misc/config/cc/mipspro | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/misc/config/cc/mipspro b/misc/config/cc/mipspro new file mode 100644 index 000000000..82dbb9ce1 --- /dev/null +++ b/misc/config/cc/mipspro @@ -0,0 +1,48 @@ +realname "SGI MIPSPro C++" + +binary_name "CC" + +compile_option "-c" +output_to_option "-o" +add_include_dir_option "-I" +add_lib_dir_option "-L" +add_lib_option "-l" + +lib_opt_flags "-O3 -OPT:alias=TYPED" +check_opt_flags "-O3 -OPT:alias=TYPED" +debug_flags "-g3" +no_debug_flags "" +so_obj_flags "-KPIC" +lang_flags "-ansi -LANG:ansi-for-init-scope=ON" +# Disabled, because, while my code is fine, it warns about a lot of it's own +# headers <g> +#warning_flags "-fullwarn" + +makefile_style unix + +<so_link_flags> +default -> "$(CXX) -shared -Wl,-soname,$(SONAME)" +</so_link_flags> + +<mach_opt> +mips32 -> "-mips1" +mips64 -> "-mips3" + +mips64-r5000 -> "-mips4 -r5000" +mips64-r8000 -> "-mips4 -r8000" +mips64-r10000 -> "-mips4 -r10000" +</mach_opt> + +<mach_abi_linking> +mips32 -> "-n32" +mips64 -> "-64" +</mach_abi_linking> + +<arch> +mips32 +mips64 +</arch> + +<os> +irix +</os> |