2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
[official-gcc.git] / gcc / config / darwin.opt
bloba31ee074cf06b3b2e3ee6663b1652818f7387d32
1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc.
5 ; This file is part of GCC.
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 3, or (at your option) any later
10 ; version.
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING3.  If not see
19 ; <http://www.gnu.org/licenses/>.
21 ; Various linker options have a -Z added so that they can get to specs
22 ; processing without interference.  Note that an option name with a
23 ; prefix that matches another option name, that also takes an
24 ; argument, being mapped to a -Z linker option, needs to be modified
25 ; so the prefix is different, otherwise a '*' after the shorter option
26 ; will match with the longer one.
28 all_load
29 Driver Alias(Zall_load)
31 allowable_client
32 Driver Separate Alias(Zallowable_client)
34 arch_errors_fatal
35 Driver Alias(Zarch_errors_fatal)
37 bind_at_load
38 Driver Alias(Zbind_at_load)
40 bundle
41 Driver Alias(Zbundle)
43 bundle_loader
44 Driver Separate Alias(Zbundle_loader)
46 dead_strip
47 Driver Alias(Zdead_strip)
49 dependency-file
50 C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
52 dylib_file
53 Driver Separate Alias(Zdylib_file)
55 dylinker
56 Driver
58 dynamic
59 Driver Alias(Zdynamic)
61 dynamiclib
62 Driver Alias(Zdynamiclib)
64 exported_symbols_list
65 Driver Separate Alias(Zexported_symbols_list)
67 filelist
68 Driver RejectNegative Separate
70 findirect-virtual-calls
71 Driver RejectNegative
73 flat_namespace
74 Driver RejectNegative Alias(Zflat_namespace)
76 force_cpusubtype_ALL
77 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
79 force_flat_namespace
80 Driver RejectNegative Alias(Zforce_flat_namespace)
82 framework
83 Driver RejectNegative Separate
85 fterminated-vtables
86 Driver RejectNegative
88 gfull
89 Driver
91 gused
92 Driver
94 headerpad_max_install_names
95 Driver
97 image_base
98 Driver Separate Alias(Zimage_base)
100 init
101 Driver Separate Alias(Zinit)
103 install_name
104 Driver Separate Alias(Zinstall_name)
106 keep_private_externs
107 Driver
109 mconstant-cfstrings
110 Target Report Var(darwin_constant_cfstrings) Init(1)
111 Generate compile-time CFString objects
113 multi_module
114 Driver RejectNegative Alias(Zmulti_module)
116 multiply_defined
117 Driver RejectNegative Separate Alias(Zmultiply_defined)
119 multiply_defined_unused
120 Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
122 no_dead_strip_inits_and_terms
123 Driver Alias(Zno_dead_strip_inits_and_terms)
125 nofixprebinding
126 Driver
128 nomultidefs
129 Driver
131 noprebind
132 Driver
134 noseglinkedit
135 Driver
137 object
138 Driver
140 prebind
141 Driver
143 prebind_all_twolevel_modules
144 Driver
146 preload
147 Driver
149 private_bundle
150 Driver
152 pthread
153 Driver
155 seg_addr_table
156 Driver Separate Alias(Zseg_addr_table)
158 seg_addr_table_filename
159 Driver Separate Alias(Zfn_seg_addr_table_filename)
161 segaddr
162 Driver Separate Args(2) Alias(Zsegaddr)
164 seglinkedit
165 Driver
167 segs_read_only_addr
168 Driver Separate Alias(Zsegs_read_only_addr)
170 segs_read_write_addr
171 Driver Separate Alias(Zsegs_read_write_addr)
173 single_module
174 Driver Alias(Zsingle_module)
176 twolevel_namespace
177 Driver
179 twolevel_namespace_hints
180 Driver
182 umbrella
183 Driver Separate Alias(Zumbrella)
185 unexported_symbols_list
186 Driver Separate Alias(Zunexported_symbols_list)
188 weak_reference_mismatches
189 Driver Separate Alias(Zweak_reference_mismatches)
191 whatsloaded
192 Driver
194 whyload
195 Driver
198 Driver Joined
200 Mach
201 Driver
203 Wnonportable-cfstrings
204 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
205 Warn if constant CFString objects contain non-portable characters
207 ; Use new-style pic stubs if this is true, x86 only so far.
208 matt-stubs
209 Target Report Var(darwin_macho_att_stub) Init(1)
210 Generate AT&T-style stubs for Mach-O
212 mdynamic-no-pic
213 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
214 Generate code suitable for executables (NOT shared libs)
216 mfix-and-continue
217 Target Report Var(darwin_fix_and_continue)
218 Generate code suitable for fast turn around debugging
220 ; The Init here is for the convenience of GCC developers, so that cc1
221 ; and cc1plus don't crash if no -mmacosx-version-min is passed.  The
222 ; driver will always pass a -mmacosx-version-min, so in normal use the
223 ; Init is never used.  Useful for setting the OS on which people
224 ; ususally debug.
225 mmacosx-version-min=
226 Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
227 The earliest MacOS X version on which this program will run
229 mone-byte-bool
230 Target RejectNegative Report Var(darwin_one_byte_bool)
231 Set sizeof(bool) to 1
233 fapple-kext
234 Target Report C++ Var(flag_apple_kext)
235 Generate code for darwin loadable kernel extensions
237 mkernel
238 Target Report Var(flag_mkernel)
239 Generate code for the kernel or loadable kernel extensions
241 iframework
242 Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
243 -iframework <dir>       Add <dir> to the end of the system framework include path
246 Driver
248 Zall_load
249 Driver
251 Zallowable_client
252 Driver Separate
254 Zarch_errors_fatal
255 Driver
257 Zbind_at_load
258 Driver
260 Zbundle
261 Driver
263 Zbundle_loader
264 Driver Separate
266 Zdead_strip
267 Driver
269 Zdylib_file
270 Driver Separate
272 Zdynamic
273 Driver
275 Zdynamiclib
276 Driver
278 Zexported_symbols_list
279 Driver Separate
281 Zfn_seg_addr_table_filename
282 Driver Separate
284 Zflat_namespace
285 Driver
287 Zforce_cpusubtype_ALL
288 Driver
290 Zforce_flat_namespace
291 Driver
293 Zimage_base
294 Driver Separate
296 Zinit
297 Driver Separate
299 Zinstall_name
300 Driver Separate
302 Zmulti_module
303 Driver
305 Zmultiply_defined
306 Driver Separate
308 Zmultiplydefinedunused
309 Driver Separate
311 Zno_dead_strip_inits_and_terms
312 Driver
314 Zseg_addr_table
315 Driver Separate
317 Zsegaddr
318 Driver Separate Args(2)
320 Zsegs_read_only_addr
321 Driver Separate
323 Zsegs_read_write_addr
324 Driver Separate
326 Zsingle_module
327 Driver
329 Zumbrella
330 Driver Separate
332 Zunexported_symbols_list
333 Driver Separate
335 Zweak_reference_mismatches
336 Driver Separate
338 client_name
339 Driver Separate
341 compatibility_version
342 Driver Separate
344 current_version
345 Driver Separate
347 dylinker_install_name
348 Driver Separate
350 pagezero_size
351 Driver Separate
353 read_only_relocs
354 Driver Separate
356 sectalign
357 Driver Separate Args(3)
359 sectcreate
360 Driver Separate Args(3)
362 sectobjectsymbols
363 Driver Separate Args(2)
365 sectorder
366 Driver Separate Args(3)
368 seg1addr
369 Driver Separate
371 segcreate
372 Driver Separate Args(3)
374 segprot
375 Driver Separate Args(3)
377 segs_read_only_addr
378 Driver Separate
380 segs_read_write_addr
381 Driver Separate
383 sub_library
384 Driver Separate
386 sub_umbrella
387 Driver Separate
389 undefined
390 Driver Separate