2016-11-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / config / darwin.opt
blob509373154386618652ad17cfe21facb9383ef3a5
1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005-2016 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.
230 mmacosx-version-min=
231 Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION)
232 The earliest MacOS X version on which this program will run.
234 mone-byte-bool
235 Target RejectNegative Report Var(darwin_one_byte_bool)
236 Set sizeof(bool) to 1.
238 fapple-kext
239 Target Report C++ Var(flag_apple_kext)
240 Generate code for darwin loadable kernel extensions.
242 mkernel
243 Target Report Var(flag_mkernel)
244 Generate code for the kernel or loadable kernel extensions.
246 iframework
247 Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
248 -iframework <dir>       Add <dir> to the end of the system framework include path.
251 Driver
253 Zall_load
254 Driver
256 Zallowable_client
257 Driver Separate
259 Zarch_errors_fatal
260 Driver
262 Zbind_at_load
263 Driver
265 Zbundle
266 Driver
268 Zbundle_loader
269 Driver Separate
271 Zdead_strip
272 Driver
274 Zdylib_file
275 Driver Separate
277 Zdynamic
278 Driver
280 Zdynamiclib
281 Driver
283 Zexported_symbols_list
284 Driver Separate
286 Zfn_seg_addr_table_filename
287 Driver Separate
289 Zflat_namespace
290 Driver
292 Zforce_cpusubtype_ALL
293 Driver
295 Zforce_flat_namespace
296 Driver
298 Zimage_base
299 Driver Separate
301 Zinit
302 Driver Separate
304 Zinstall_name
305 Driver Separate
307 Zmulti_module
308 Driver
310 Zmultiply_defined
311 Driver Separate
313 Zmultiplydefinedunused
314 Driver Separate
316 Zno_dead_strip_inits_and_terms
317 Driver
319 Zseg_addr_table
320 Driver Separate
322 Zsegaddr
323 Driver Separate Args(2)
325 Zsegs_read_only_addr
326 Driver Separate
328 Zsegs_read_write_addr
329 Driver Separate
331 Zsingle_module
332 Driver
334 Zumbrella
335 Driver Separate
337 Zunexported_symbols_list
338 Driver Separate
340 Zweak_reference_mismatches
341 Driver Separate
343 client_name
344 Driver Separate
346 compatibility_version
347 Driver Separate
349 current_version
350 Driver Separate
352 dylinker_install_name
353 Driver Separate
355 pagezero_size
356 Driver Separate
358 read_only_relocs
359 Driver Separate
361 sectalign
362 Driver Separate Args(3)
364 sectcreate
365 Driver Separate Args(3)
367 sectobjectsymbols
368 Driver Separate Args(2)
370 sectorder
371 Driver Separate Args(3)
373 seg1addr
374 Driver Separate
376 segcreate
377 Driver Separate Args(3)
379 segprot
380 Driver Separate Args(3)
382 segs_read_only_addr
383 Driver Separate
385 segs_read_write_addr
386 Driver Separate
388 sub_library
389 Driver Separate
391 sub_umbrella
392 Driver Separate
394 undefined
395 Driver Separate