aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/icc.txt
blob: f15d9eb9c42964dd31110c5699802b1e83dc9a77 (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
macro_name INTEL

binary_name icpc

output_to_option "-o "
add_include_dir_option -I
add_lib_dir_option -L
add_lib_option -l

compile_flags_release "-c -fomit-frame-pointer"
compile_flags_debug "-c -g"
lib_opt_flags_release "-O2 -ip -unroll"
app_opt_flags_release "-O2"

lang_flags "-std=c++0x"
warning_flags "-w1"
shared_flags "-fPIC"

makefile_style gmake

<mach_opt>
pentium3  -> "-march=pentium3"
pentium4  -> "-march=pentium4"
pentium-m -> "-march=pentium3"
core2     -> "-march=core2"

# ICC 11.1 doesn't have native Nehalem or Westmere support
nehalem   -> "-march=core2"
westmere  -> "-march=core2"
</mach_opt>

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