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

binary_name "icpc"

compiler_has_tr1 yes

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

lib_opt_flags "-O2 -ip -unroll"
check_opt_flags "-O2"
debug_flags "-g"
no_debug_flags "-fomit-frame-pointer"
lang_flags ""
warning_flags "-w1"
shared_flags "-fPIC"

dll_import_flags ""
dll_export_flags ""

makefile_style unix

<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_flags>
default -> "$(CXX) -fPIC -shared"
</so_link_flags>