]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/darwin.opt
Update copyright years.
[thirdparty/gcc.git] / gcc / config / darwin.opt
CommitLineData
0c44645a 1; Processor-independent options for Darwin.
2
f1717362 3; Copyright (C) 2005-2016 Free Software Foundation, Inc.
0c44645a 4;
5; This file is part of GCC.
6;
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
038d1e19 9; Software Foundation; either version 3, or (at your option) any later
0c44645a 10; version.
11;
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.
16;
17; You should have received a copy of the GNU General Public License
038d1e19 18; along with GCC; see the file COPYING3. If not see
19; <http://www.gnu.org/licenses/>.
0c44645a 20
2c2747c3 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.
27
28all_load
29Driver Alias(Zall_load)
30
31allowable_client
32Driver Separate Alias(Zallowable_client)
33
22db0e0c 34arch
35Driver RejectNegative Separate
36
2c2747c3 37arch_errors_fatal
38Driver Alias(Zarch_errors_fatal)
39
40bind_at_load
41Driver Alias(Zbind_at_load)
42
43bundle
44Driver Alias(Zbundle)
45
46bundle_loader
47Driver Separate Alias(Zbundle_loader)
48
49dead_strip
50Driver Alias(Zdead_strip)
51
52dependency-file
53C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
54
55dylib_file
56Driver Separate Alias(Zdylib_file)
57
a375de9b 58dylinker
59Driver
60
2c2747c3 61dynamic
62Driver Alias(Zdynamic)
63
64dynamiclib
65Driver Alias(Zdynamiclib)
66
67exported_symbols_list
68Driver Separate Alias(Zexported_symbols_list)
69
70filelist
71Driver RejectNegative Separate
72
73findirect-virtual-calls
74Driver RejectNegative
75
76flat_namespace
77Driver RejectNegative Alias(Zflat_namespace)
78
79force_cpusubtype_ALL
80Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
81
82force_flat_namespace
83Driver RejectNegative Alias(Zforce_flat_namespace)
84
85framework
86Driver RejectNegative Separate
87
88fterminated-vtables
89Driver RejectNegative
90
91gfull
92Driver
93
94gused
95Driver
96
a375de9b 97headerpad_max_install_names
98Driver
99
2c2747c3 100image_base
101Driver Separate Alias(Zimage_base)
102
103init
104Driver Separate Alias(Zinit)
105
106install_name
107Driver Separate Alias(Zinstall_name)
108
a375de9b 109keep_private_externs
110Driver
111
d4238e8b 112mconstant-cfstrings
113Target Report Var(darwin_constant_cfstrings) Init(1)
8fb42bbc 114Generate compile-time CFString objects.
d4238e8b 115
2c2747c3 116multi_module
117Driver RejectNegative Alias(Zmulti_module)
118
119multiply_defined
120Driver RejectNegative Separate Alias(Zmultiply_defined)
121
122multiply_defined_unused
123Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
124
125no_dead_strip_inits_and_terms
126Driver Alias(Zno_dead_strip_inits_and_terms)
127
a375de9b 128nofixprebinding
129Driver
130
131nomultidefs
132Driver
133
134noprebind
135Driver
136
137noseglinkedit
138Driver
139
140object
141Driver
142
143prebind
144Driver
145
146prebind_all_twolevel_modules
147Driver
148
149preload
150Driver
151
152private_bundle
153Driver
154
155pthread
156Driver
157
182d4990 158rdynamic
159Driver
160
2c2747c3 161seg_addr_table
162Driver Separate Alias(Zseg_addr_table)
163
164seg_addr_table_filename
165Driver Separate Alias(Zfn_seg_addr_table_filename)
166
167segaddr
168Driver Separate Args(2) Alias(Zsegaddr)
169
a375de9b 170seglinkedit
171Driver
172
2c2747c3 173segs_read_only_addr
174Driver Separate Alias(Zsegs_read_only_addr)
175
176segs_read_write_addr
177Driver Separate Alias(Zsegs_read_write_addr)
178
179single_module
180Driver Alias(Zsingle_module)
181
a375de9b 182twolevel_namespace
183Driver
184
185twolevel_namespace_hints
186Driver
187
2c2747c3 188umbrella
189Driver Separate Alias(Zumbrella)
190
191unexported_symbols_list
192Driver Separate Alias(Zunexported_symbols_list)
193
194weak_reference_mismatches
195Driver Separate Alias(Zweak_reference_mismatches)
196
a375de9b 197whatsloaded
198Driver
199
200whyload
201Driver
202
203y
204Driver Joined
205
206Mach
207Driver
208
d4238e8b 209Wnonportable-cfstrings
210Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
8fb42bbc 211Warn if constant CFString objects contain non-portable characters.
d4238e8b 212
90ff10b3 213; Use new-style pic stubs if this is true, x86 only so far.
214matt-stubs
215Target Report Var(darwin_macho_att_stub) Init(1)
8fb42bbc 216Generate AT&T-style stubs for Mach-O.
90ff10b3 217
218mdynamic-no-pic
219Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
8fb42bbc 220Generate code suitable for executables (NOT shared libs).
90ff10b3 221
0c44645a 222mfix-and-continue
223Target Report Var(darwin_fix_and_continue)
8fb42bbc 224Generate code suitable for fast turn around debugging.
9b1f316f 225
80fcd515 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
fb296c25 229; Init is never used.
9b1f316f 230mmacosx-version-min=
fb296c25 231Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION)
8fb42bbc 232The earliest MacOS X version on which this program will run.
9b1f316f 233
234mone-byte-bool
235Target RejectNegative Report Var(darwin_one_byte_bool)
8fb42bbc 236Set sizeof(bool) to 1.
5b182752 237
238fapple-kext
2775d4b5 239Target Report C++ Var(flag_apple_kext)
8fb42bbc 240Generate code for darwin loadable kernel extensions.
5b182752 241
242mkernel
243Target Report Var(flag_mkernel)
8fb42bbc 244Generate code for the kernel or loadable kernel extensions.
b9fc964a 245
246iframework
247Target RejectNegative C ObjC C++ ObjC++ Joined Separate
8fb42bbc 248-iframework <dir> Add <dir> to the end of the system framework include path.
28d51ed4 249
a375de9b 250X
251Driver
252
2c2747c3 253Zall_load
254Driver
255
13c30464 256Zallowable_client
257Driver Separate
258
2c2747c3 259Zarch_errors_fatal
260Driver
261
262Zbind_at_load
263Driver
264
265Zbundle
266Driver
267
13c30464 268Zbundle_loader
269Driver Separate
270
2c2747c3 271Zdead_strip
272Driver
273
13c30464 274Zdylib_file
275Driver Separate
276
2c2747c3 277Zdynamic
278Driver
279
280Zdynamiclib
281Driver
282
13c30464 283Zexported_symbols_list
284Driver Separate
285
286Zfn_seg_addr_table_filename
287Driver Separate
288
2c2747c3 289Zflat_namespace
290Driver
291
292Zforce_cpusubtype_ALL
293Driver
294
295Zforce_flat_namespace
296Driver
297
13c30464 298Zimage_base
299Driver Separate
300
301Zinit
302Driver Separate
303
304Zinstall_name
305Driver Separate
306
2c2747c3 307Zmulti_module
308Driver
309
13c30464 310Zmultiply_defined
311Driver Separate
312
313Zmultiplydefinedunused
314Driver Separate
315
2c2747c3 316Zno_dead_strip_inits_and_terms
317Driver
318
13c30464 319Zseg_addr_table
320Driver Separate
321
e2028bfa 322Zsegaddr
323Driver Separate Args(2)
324
13c30464 325Zsegs_read_only_addr
326Driver Separate
327
328Zsegs_read_write_addr
329Driver Separate
330
2c2747c3 331Zsingle_module
332Driver
333
13c30464 334Zumbrella
335Driver Separate
336
337Zunexported_symbols_list
338Driver Separate
339
340Zweak_reference_mismatches
341Driver Separate
342
343client_name
344Driver Separate
345
346compatibility_version
347Driver Separate
348
349current_version
350Driver Separate
351
352dylinker_install_name
353Driver Separate
354
355pagezero_size
356Driver Separate
357
358read_only_relocs
359Driver Separate
360
e2028bfa 361sectalign
362Driver Separate Args(3)
363
364sectcreate
365Driver Separate Args(3)
366
367sectobjectsymbols
368Driver Separate Args(2)
369
370sectorder
371Driver Separate Args(3)
372
13c30464 373seg1addr
374Driver Separate
375
e2028bfa 376segcreate
377Driver Separate Args(3)
378
379segprot
380Driver Separate Args(3)
381
13c30464 382segs_read_only_addr
383Driver Separate
384
385segs_read_write_addr
386Driver Separate
387
388sub_library
389Driver Separate
390
391sub_umbrella
392Driver Separate
393
28d51ed4 394undefined
395Driver Separate