aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/xlc.txt
blob: 36eaf29d22e09b8f6d09421d622947494af4dab6 (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
macro_name XLC

binary_name xlC

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

compile_flags "-c"
debug_info_flags "-g"
optimization_flags "-O2"

lang_flags "-std=c++11"

makefile_style gmake

<mach_opt>
power8   -> "-qarch=pwr8"
power9   -> "-qarch=pwr9"
</mach_opt>

<isa_flags>
altivec -> "-qaltivec"
</isa_flags>

<so_link_commands>
default -> "$(CXX) -qmkshrobj"
</so_link_commands>