darwin.opt revision 1.5
1; Processor-independent options for Darwin.
2
3; Copyright (C) 2005-2015 Free Software Foundation, Inc.
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
9; Software Foundation; either version 3, or (at your option) any later
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
18; along with GCC; see the file COPYING3.  If not see
19; <http://www.gnu.org/licenses/>.
20
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
34arch
35Driver RejectNegative Separate
36
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
58dylinker
59Driver
60
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
97headerpad_max_install_names
98Driver
99
100image_base
101Driver Separate Alias(Zimage_base)
102
103init
104Driver Separate Alias(Zinit)
105
106install_name
107Driver Separate Alias(Zinstall_name)
108
109keep_private_externs
110Driver
111
112mconstant-cfstrings
113Target Report Var(darwin_constant_cfstrings) Init(1)
114Generate compile-time CFString objects
115
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
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
158seg_addr_table
159Driver Separate Alias(Zseg_addr_table)
160
161seg_addr_table_filename
162Driver Separate Alias(Zfn_seg_addr_table_filename)
163
164segaddr
165Driver Separate Args(2) Alias(Zsegaddr)
166
167seglinkedit
168Driver
169
170segs_read_only_addr
171Driver Separate Alias(Zsegs_read_only_addr)
172
173segs_read_write_addr
174Driver Separate Alias(Zsegs_read_write_addr)
175
176single_module
177Driver Alias(Zsingle_module)
178
179twolevel_namespace
180Driver
181
182twolevel_namespace_hints
183Driver
184
185umbrella
186Driver Separate Alias(Zumbrella)
187
188unexported_symbols_list
189Driver Separate Alias(Zunexported_symbols_list)
190
191weak_reference_mismatches
192Driver Separate Alias(Zweak_reference_mismatches)
193
194whatsloaded
195Driver
196
197whyload
198Driver
199
200y
201Driver Joined
202
203Mach
204Driver
205
206Wnonportable-cfstrings
207Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
208Warn if constant CFString objects contain non-portable characters
209
210; Use new-style pic stubs if this is true, x86 only so far.
211matt-stubs
212Target Report Var(darwin_macho_att_stub) Init(1)
213Generate AT&T-style stubs for Mach-O
214
215mdynamic-no-pic
216Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
217Generate code suitable for executables (NOT shared libs)
218
219mfix-and-continue
220Target Report Var(darwin_fix_and_continue)
221Generate code suitable for fast turn around debugging
222
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.
228mmacosx-version-min=
229Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
230The earliest MacOS X version on which this program will run
231
232mone-byte-bool
233Target RejectNegative Report Var(darwin_one_byte_bool)
234Set sizeof(bool) to 1
235
236fapple-kext
237Target Report C++ Var(flag_apple_kext)
238Generate code for darwin loadable kernel extensions
239
240mkernel
241Target Report Var(flag_mkernel)
242Generate code for the kernel or loadable kernel extensions
243
244iframework
245Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
246-iframework <dir>	Add <dir> to the end of the system framework include path
247
248X
249Driver
250
251Zall_load
252Driver
253
254Zallowable_client
255Driver Separate
256
257Zarch_errors_fatal
258Driver
259
260Zbind_at_load
261Driver
262
263Zbundle
264Driver
265
266Zbundle_loader
267Driver Separate
268
269Zdead_strip
270Driver
271
272Zdylib_file
273Driver Separate
274
275Zdynamic
276Driver
277
278Zdynamiclib
279Driver
280
281Zexported_symbols_list
282Driver Separate
283
284Zfn_seg_addr_table_filename
285Driver Separate
286
287Zflat_namespace
288Driver
289
290Zforce_cpusubtype_ALL
291Driver
292
293Zforce_flat_namespace
294Driver
295
296Zimage_base
297Driver Separate
298
299Zinit
300Driver Separate
301
302Zinstall_name
303Driver Separate
304
305Zmulti_module
306Driver
307
308Zmultiply_defined
309Driver Separate
310
311Zmultiplydefinedunused
312Driver Separate
313
314Zno_dead_strip_inits_and_terms
315Driver
316
317Zseg_addr_table
318Driver Separate
319
320Zsegaddr
321Driver Separate Args(2)
322
323Zsegs_read_only_addr
324Driver Separate
325
326Zsegs_read_write_addr
327Driver Separate
328
329Zsingle_module
330Driver
331
332Zumbrella
333Driver Separate
334
335Zunexported_symbols_list
336Driver Separate
337
338Zweak_reference_mismatches
339Driver Separate
340
341client_name
342Driver Separate
343
344compatibility_version
345Driver Separate
346
347current_version
348Driver Separate
349
350dylinker_install_name
351Driver Separate
352
353pagezero_size
354Driver Separate
355
356read_only_relocs
357Driver Separate
358
359sectalign
360Driver Separate Args(3)
361
362sectcreate
363Driver Separate Args(3)
364
365sectobjectsymbols
366Driver Separate Args(2)
367
368sectorder
369Driver Separate Args(3)
370
371seg1addr
372Driver Separate
373
374segcreate
375Driver Separate Args(3)
376
377segprot
378Driver Separate Args(3)
379
380segs_read_only_addr
381Driver Separate
382
383segs_read_write_addr
384Driver Separate
385
386sub_library
387Driver Separate
388
389sub_umbrella
390Driver Separate
391
392undefined
393Driver Separate
394