PR other/53317
[official-gcc.git] / gcc / config / darwin.opt
blobba6cbe06ec0430fff54cc78189b342f0f5c9c088
1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005-2013 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
35 Driver RejectNegative Separate
37 arch_errors_fatal
38 Driver Alias(Zarch_errors_fatal)
40 bind_at_load
41 Driver Alias(Zbind_at_load)
43 bundle
44 Driver Alias(Zbundle)
46 bundle_loader
47 Driver Separate Alias(Zbundle_loader)
49 dead_strip
50 Driver Alias(Zdead_strip)
52 dependency-file
53 C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
55 dylib_file
56 Driver Separate Alias(Zdylib_file)
58 dylinker
59 Driver
61 dynamic
62 Driver Alias(Zdynamic)
64 dynamiclib
65 Driver Alias(Zdynamiclib)
67 exported_symbols_list
68 Driver Separate Alias(Zexported_symbols_list)
70 filelist
71 Driver RejectNegative Separate
73 findirect-virtual-calls
74 Driver RejectNegative
76 flat_namespace
77 Driver RejectNegative Alias(Zflat_namespace)
79 force_cpusubtype_ALL
80 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
82 force_flat_namespace
83 Driver RejectNegative Alias(Zforce_flat_namespace)
85 framework
86 Driver RejectNegative Separate
88 fterminated-vtables
89 Driver RejectNegative
91 gfull
92 Driver
94 gused
95 Driver
97 headerpad_max_install_names
98 Driver
100 image_base
101 Driver Separate Alias(Zimage_base)
103 init
104 Driver Separate Alias(Zinit)
106 install_name
107 Driver Separate Alias(Zinstall_name)
109 keep_private_externs
110 Driver
112 mconstant-cfstrings
113 Target Report Var(darwin_constant_cfstrings) Init(1)
114 Generate compile-time CFString objects
116 multi_module
117 Driver RejectNegative Alias(Zmulti_module)
119 multiply_defined
120 Driver RejectNegative Separate Alias(Zmultiply_defined)
122 multiply_defined_unused
123 Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
125 no_dead_strip_inits_and_terms
126 Driver Alias(Zno_dead_strip_inits_and_terms)
128 nofixprebinding
129 Driver
131 nomultidefs
132 Driver
134 noprebind
135 Driver
137 noseglinkedit
138 Driver
140 object
141 Driver
143 prebind
144 Driver
146 prebind_all_twolevel_modules
147 Driver
149 preload
150 Driver
152 private_bundle
153 Driver
155 pthread
156 Driver
158 seg_addr_table
159 Driver Separate Alias(Zseg_addr_table)
161 seg_addr_table_filename
162 Driver Separate Alias(Zfn_seg_addr_table_filename)
164 segaddr
165 Driver Separate Args(2) Alias(Zsegaddr)
167 seglinkedit
168 Driver
170 segs_read_only_addr
171 Driver Separate Alias(Zsegs_read_only_addr)
173 segs_read_write_addr
174 Driver Separate Alias(Zsegs_read_write_addr)
176 single_module
177 Driver Alias(Zsingle_module)
179 twolevel_namespace
180 Driver
182 twolevel_namespace_hints
183 Driver
185 umbrella
186 Driver Separate Alias(Zumbrella)
188 unexported_symbols_list
189 Driver Separate Alias(Zunexported_symbols_list)
191 weak_reference_mismatches
192 Driver Separate Alias(Zweak_reference_mismatches)
194 whatsloaded
195 Driver
197 whyload
198 Driver
201 Driver Joined
203 Mach
204 Driver
206 Wnonportable-cfstrings
207 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
208 Warn if constant CFString objects contain non-portable characters
210 ; Use new-style pic stubs if this is true, x86 only so far.
211 matt-stubs
212 Target Report Var(darwin_macho_att_stub) Init(1)
213 Generate AT&T-style stubs for Mach-O
215 mdynamic-no-pic
216 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
217 Generate code suitable for executables (NOT shared libs)
219 mfix-and-continue
220 Target Report Var(darwin_fix_and_continue)
221 Generate code suitable for fast turn around debugging
223 ; The Init here is for the convenience of GCC developers, so that cc1
224 ; and cc1plus don't crash if no -mmacosx-version-min is passed.  The
225 ; driver will always pass a -mmacosx-version-min, so in normal use the
226 ; Init is never used.  Useful for setting the OS on which people
227 ; usually debug.
228 mmacosx-version-min=
229 Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
230 The earliest MacOS X version on which this program will run
232 mone-byte-bool
233 Target RejectNegative Report Var(darwin_one_byte_bool)
234 Set sizeof(bool) to 1
236 fapple-kext
237 Target Report C++ Var(flag_apple_kext)
238 Generate code for darwin loadable kernel extensions
240 mkernel
241 Target Report Var(flag_mkernel)
242 Generate code for the kernel or loadable kernel extensions
244 iframework
245 Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
246 -iframework <dir>       Add <dir> to the end of the system framework include path
249 Driver
251 Zall_load
252 Driver
254 Zallowable_client
255 Driver Separate
257 Zarch_errors_fatal
258 Driver
260 Zbind_at_load
261 Driver
263 Zbundle
264 Driver
266 Zbundle_loader
267 Driver Separate
269 Zdead_strip
270 Driver
272 Zdylib_file
273 Driver Separate
275 Zdynamic
276 Driver
278 Zdynamiclib
279 Driver
281 Zexported_symbols_list
282 Driver Separate
284 Zfn_seg_addr_table_filename
285 Driver Separate
287 Zflat_namespace
288 Driver
290 Zforce_cpusubtype_ALL
291 Driver
293 Zforce_flat_namespace
294 Driver
296 Zimage_base
297 Driver Separate
299 Zinit
300 Driver Separate
302 Zinstall_name
303 Driver Separate
305 Zmulti_module
306 Driver
308 Zmultiply_defined
309 Driver Separate
311 Zmultiplydefinedunused
312 Driver Separate
314 Zno_dead_strip_inits_and_terms
315 Driver
317 Zseg_addr_table
318 Driver Separate
320 Zsegaddr
321 Driver Separate Args(2)
323 Zsegs_read_only_addr
324 Driver Separate
326 Zsegs_read_write_addr
327 Driver Separate
329 Zsingle_module
330 Driver
332 Zumbrella
333 Driver Separate
335 Zunexported_symbols_list
336 Driver Separate
338 Zweak_reference_mismatches
339 Driver Separate
341 client_name
342 Driver Separate
344 compatibility_version
345 Driver Separate
347 current_version
348 Driver Separate
350 dylinker_install_name
351 Driver Separate
353 pagezero_size
354 Driver Separate
356 read_only_relocs
357 Driver Separate
359 sectalign
360 Driver Separate Args(3)
362 sectcreate
363 Driver Separate Args(3)
365 sectobjectsymbols
366 Driver Separate Args(2)
368 sectorder
369 Driver Separate Args(3)
371 seg1addr
372 Driver Separate
374 segcreate
375 Driver Separate Args(3)
377 segprot
378 Driver Separate Args(3)
380 segs_read_only_addr
381 Driver Separate
383 segs_read_write_addr
384 Driver Separate
386 sub_library
387 Driver Separate
389 sub_umbrella
390 Driver Separate
392 undefined
393 Driver Separate