aboutsummaryrefslogtreecommitdiffstats
path: root/misc/config/cc/mipspro
blob: 82dbb9ce1cbae16cbac50fc28596adee485863f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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>