Ticket #3472: specs

File specs, 3.9 KB (added by andreasf, 15 years ago)

specs file for the lazy

Line 
1*asm:
2%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}
3
4*asm_debug:
5%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}} %{fdebug-prefix-map=*:--debug-prefix-map %*}
6
7*asm_final:
8
9
10*asm_options:
11%{--target-help:%:print-asm-header()} %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
12
13*invoke_as:
14%{!S:-o %|.s |
15 as %(asm_options) %|.s %A }
16
17*cpp:
18
19
20*cpp_options:
21%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef} %{save-temps:-fpch-preprocess}
22
23*cpp_debug_options:
24%{d*}
25
26*cpp_unique_options:
27%{C|CC:%{!E:%eGCC does not support -C or -CC without -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*&F*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{!MT:%{!MQ:%{MD|MMD:%{o*:-MQ %*}}}}}}} %{remap} %{g3|ggdb3|gstabs3|gcoff3|gxcoff3|gvms3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{fmudflap:-D_MUDFLAP -include mf-runtime.h} %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h} %{E|M|MM:%W{o*}}
28
29*trad_capable_cpp:
30cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
31
32*cc1:
33%{!no-fpic:%{!fno-pic:%{!fno-pie:%{!fpie:%{!fPIC:%{!fPIE:-fpic}}}}}} %{!Wmultichar: -Wno-multichar} %(cc1_cpu) %{profile:-p}
34
35*cc1_options:
36%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{--help=*:--help=%(VALUE)} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} %{fmudflap|fmudflapth:-fno-builtin -fno-merge-constants} %{coverage:-fprofile-arcs -ftest-coverage}
37
38*cc1plus:
39%{!Wctor-dtor-privacy:-Wno-ctor-dtor-privacy}
40
41*link_gcc_c_sequence:
42%G %L %G
43
44*link_ssp:
45%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp}
46
47*endfile:
48crtend.o%s crtn.o%s
49
50*link:
51-m elf_i386_haiku -shared -no-undefined -Bsymbolic %{nostart:-e 0} %{shared:-e 0}
52
53*lib:
54-lroot
55
56*mfwrap:
57 %{static: %{fmudflap|fmudflapth: --wrap=malloc --wrap=free --wrap=calloc --wrap=realloc --wrap=mmap --wrap=munmap --wrap=alloca} %{fmudflapth: --wrap=pthread_create}} %{fmudflap|fmudflapth: --wrap=main}
58
59*mflib:
60%{fmudflap|fmudflapth: -export-dynamic}
61
62*link_gomp:
63
64
65*libgcc:
66
67
68*startfile:
69crti.o%s crtbegin.o%s %{!shared:%{!nostart:start_dyn.o%s}} init_term_dyn.o%s %{p:mcount.o%s}
70
71*switches_need_spaces:
72
73
74*cross_compile:
750
76
77*version:
784.3.3
79
80*multilib:
81. ;
82
83*multilib_defaults:
84
85
86*multilib_extra:
87
88
89*multilib_matches:
90
91
92*multilib_exclusions:
93
94
95*multilib_options:
96
97
98*linker:
99collect2
100
101*link_libgcc:
102%D
103
104*md_exec_prefix:
105/usr/ccs/bin/
106
107*md_startfile_prefix:
108/usr/ccs/lib/
109
110*md_startfile_prefix_1:
111
112
113*startfile_prefix_spec:
114
115
116*sysroot_spec:
117--sysroot=%R
118
119*sysroot_suffix_spec:
120
121
122*sysroot_hdrs_suffix_spec:
123
124
125*cc1_cpu:
126%{mcpu=*:-mtune=%* %n`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
127} %<mcpu=* %{mintel-syntax:-masm=intel %n`-mintel-syntax' is deprecated. Use `-masm=intel' instead.
128} %{mno-intel-syntax:-masm=att %n`-mno-intel-syntax' is deprecated. Use `-masm=att' instead.
129}%{march=native:%<march=native %:local_cpu_detect(arch) %{!mtune=*:%<mtune=native %:local_cpu_detect(tune)}} %{mtune=native:%<mtune=native %:local_cpu_detect(tune)}
130
131*link_command:
132%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %l %{pie:-pie} %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:} %{L*} %(mfwrap) %(link_libgcc) %o %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)} %(mflib) %{fprofile-arcs|fprofile-generate|coverage:-lgcov} %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}
133