2015-05-05 Jack Howarth <howarth.at.gcc@gmail.com>
[official-gcc.git] / gcc / config / darwin.opt
blob5ab0e5cfdfdcbcd502aadeaee707856d97a2742e
1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005-2015 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 rdynamic
159 Driver
161 seg_addr_table
162 Driver Separate Alias(Zseg_addr_table)
164 seg_addr_table_filename
165 Driver Separate Alias(Zfn_seg_addr_table_filename)
167 segaddr
168 Driver Separate Args(2) Alias(Zsegaddr)
170 seglinkedit
171 Driver
173 segs_read_only_addr
174 Driver Separate Alias(Zsegs_read_only_addr)
176 segs_read_write_addr
177 Driver Separate Alias(Zsegs_read_write_addr)
179 single_module
180 Driver Alias(Zsingle_module)
182 twolevel_namespace
183 Driver
185 twolevel_namespace_hints
186 Driver
188 umbrella
189 Driver Separate Alias(Zumbrella)
191 unexported_symbols_list
192 Driver Separate Alias(Zunexported_symbols_list)
194 weak_reference_mismatches
195 Driver Separate Alias(Zweak_reference_mismatches)
197 whatsloaded
198 Driver
200 whyload
201 Driver
204 Driver Joined
206 Mach
207 Driver
209 Wnonportable-cfstrings
210 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
211 Warn if constant CFString objects contain non-portable characters
213 ; Use new-style pic stubs if this is true, x86 only so far.
214 matt-stubs
215 Target Report Var(darwin_macho_att_stub) Init(1)
216 Generate AT&T-style stubs for Mach-O
218 mdynamic-no-pic
219 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
220 Generate code suitable for executables (NOT shared libs)
222 mfix-and-continue
223 Target Report Var(darwin_fix_and_continue)
224 Generate code suitable for fast turn around debugging
226 ; The Init here is for the convenience of GCC developers, so that cc1
227 ; and cc1plus don't crash if no -mmacosx-version-min is passed.  The
228 ; driver will always pass a -mmacosx-version-min, so in normal use the
229 ; Init is never used.  Useful for setting the OS on which people
230 ; usually debug.
231 mmacosx-version-min=
232 Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
233 The earliest MacOS X version on which this program will run
235 mone-byte-bool
236 Target RejectNegative Report Var(darwin_one_byte_bool)
237 Set sizeof(bool) to 1
239 fapple-kext
240 Target Report C++ Var(flag_apple_kext)
241 Generate code for darwin loadable kernel extensions
243 mkernel
244 Target Report Var(flag_mkernel)
245 Generate code for the kernel or loadable kernel extensions
247 iframework
248 Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
249 -iframework <dir>       Add <dir> to the end of the system framework include path
252 Driver
254 Zall_load
255 Driver
257 Zallowable_client
258 Driver Separate
260 Zarch_errors_fatal
261 Driver
263 Zbind_at_load
264 Driver
266 Zbundle
267 Driver
269 Zbundle_loader
270 Driver Separate
272 Zdead_strip
273 Driver
275 Zdylib_file
276 Driver Separate
278 Zdynamic
279 Driver
281 Zdynamiclib
282 Driver
284 Zexported_symbols_list
285 Driver Separate
287 Zfn_seg_addr_table_filename
288 Driver Separate
290 Zflat_namespace
291 Driver
293 Zforce_cpusubtype_ALL
294 Driver
296 Zforce_flat_namespace
297 Driver
299 Zimage_base
300 Driver Separate
302 Zinit
303 Driver Separate
305 Zinstall_name
306 Driver Separate
308 Zmulti_module
309 Driver
311 Zmultiply_defined
312 Driver Separate
314 Zmultiplydefinedunused
315 Driver Separate
317 Zno_dead_strip_inits_and_terms
318 Driver
320 Zseg_addr_table
321 Driver Separate
323 Zsegaddr
324 Driver Separate Args(2)
326 Zsegs_read_only_addr
327 Driver Separate
329 Zsegs_read_write_addr
330 Driver Separate
332 Zsingle_module
333 Driver
335 Zumbrella
336 Driver Separate
338 Zunexported_symbols_list
339 Driver Separate
341 Zweak_reference_mismatches
342 Driver Separate
344 client_name
345 Driver Separate
347 compatibility_version
348 Driver Separate
350 current_version
351 Driver Separate
353 dylinker_install_name
354 Driver Separate
356 pagezero_size
357 Driver Separate
359 read_only_relocs
360 Driver Separate
362 sectalign
363 Driver Separate Args(3)
365 sectcreate
366 Driver Separate Args(3)
368 sectobjectsymbols
369 Driver Separate Args(2)
371 sectorder
372 Driver Separate Args(3)
374 seg1addr
375 Driver Separate
377 segcreate
378 Driver Separate Args(3)
380 segprot
381 Driver Separate Args(3)
383 segs_read_only_addr
384 Driver Separate
386 segs_read_write_addr
387 Driver Separate
389 sub_library
390 Driver Separate
392 sub_umbrella
393 Driver Separate
395 undefined
396 Driver Separate