aboutsummaryrefslogtreecommitdiffstats
path: root/misc/config/cc/ekopath
blob: f8bd8f2fec38842c797df21057fd408919ece528 (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
realname "PathScale EKOPath C++"

binary_name "pathCC"

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:Ofast:alias=disjoint"
check_opt_flags "-O2"
lang_flags "-D_REENTRANT -ansi -Wno-long-long"
warning_flags "-W -Wall"

ar_command "pathCC -ar -o"

so_obj_flags "-fPIC"
debug_flags "-g"

makefile_style unix

<so_link_flags>
default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
</so_link_flags>

<mach_opt>
athlon   -> "-mcpu=athlon"
pentium4 -> "-mcpu=pentium4"

opteron  -> "-mcpu=opteron"
em64t    -> "-mcpu=em64t"
core2duo -> "-mcpu=core"

ia32     -> "-mcpu=anyx86"
amd64    -> "-mcpu=athlon64"
</mach_opt>