aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/mipspro
blob: b75fc4fb3948da3c7f820ed6ca4a5feffb562efc (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
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 ""
shared_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"

dll_import_flags ""
dll_export_flags ""

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>