OSDN Git Service

PR target/49687
[pf3gnuchains/gcc-fork.git] / gcc / config / darwin.opt
1 ; Processor-independent options for Darwin.
2
3 ; Copyright (C) 2005, 2007, 2010 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
28 all_load
29 Driver Alias(Zall_load)
30
31 allowable_client
32 Driver Separate Alias(Zallowable_client)
33
34 arch
35 Driver RejectNegative Separate
36
37 arch_errors_fatal
38 Driver Alias(Zarch_errors_fatal)
39
40 bind_at_load
41 Driver Alias(Zbind_at_load)
42
43 bundle
44 Driver Alias(Zbundle)
45
46 bundle_loader
47 Driver Separate Alias(Zbundle_loader)
48
49 dead_strip
50 Driver Alias(Zdead_strip)
51
52 dependency-file
53 C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
54
55 dylib_file
56 Driver Separate Alias(Zdylib_file)
57
58 dylinker
59 Driver
60
61 dynamic
62 Driver Alias(Zdynamic)
63
64 dynamiclib
65 Driver Alias(Zdynamiclib)
66
67 exported_symbols_list
68 Driver Separate Alias(Zexported_symbols_list)
69
70 filelist
71 Driver RejectNegative Separate
72
73 findirect-virtual-calls
74 Driver RejectNegative
75
76 flat_namespace
77 Driver RejectNegative Alias(Zflat_namespace)
78
79 force_cpusubtype_ALL
80 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
81
82 force_flat_namespace
83 Driver RejectNegative Alias(Zforce_flat_namespace)
84
85 framework
86 Driver RejectNegative Separate
87
88 fterminated-vtables
89 Driver RejectNegative
90
91 gfull
92 Driver
93
94 gused
95 Driver
96
97 headerpad_max_install_names
98 Driver
99
100 image_base
101 Driver Separate Alias(Zimage_base)
102
103 init
104 Driver Separate Alias(Zinit)
105
106 install_name
107 Driver Separate Alias(Zinstall_name)
108
109 keep_private_externs
110 Driver
111
112 mconstant-cfstrings
113 Target Report Var(darwin_constant_cfstrings) Init(1)
114 Generate compile-time CFString objects
115
116 multi_module
117 Driver RejectNegative Alias(Zmulti_module)
118
119 multiply_defined
120 Driver RejectNegative Separate Alias(Zmultiply_defined)
121
122 multiply_defined_unused
123 Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
124
125 no_dead_strip_inits_and_terms
126 Driver Alias(Zno_dead_strip_inits_and_terms)
127
128 nofixprebinding
129 Driver
130
131 nomultidefs
132 Driver
133
134 noprebind
135 Driver
136
137 noseglinkedit
138 Driver
139
140 object
141 Driver
142
143 prebind
144 Driver
145
146 prebind_all_twolevel_modules
147 Driver
148
149 preload
150 Driver
151
152 private_bundle
153 Driver
154
155 pthread
156 Driver
157
158 seg_addr_table
159 Driver Separate Alias(Zseg_addr_table)
160
161 seg_addr_table_filename
162 Driver Separate Alias(Zfn_seg_addr_table_filename)
163
164 segaddr
165 Driver Separate Args(2) Alias(Zsegaddr)
166
167 seglinkedit
168 Driver
169
170 segs_read_only_addr
171 Driver Separate Alias(Zsegs_read_only_addr)
172
173 segs_read_write_addr
174 Driver Separate Alias(Zsegs_read_write_addr)
175
176 single_module
177 Driver Alias(Zsingle_module)
178
179 twolevel_namespace
180 Driver
181
182 twolevel_namespace_hints
183 Driver
184
185 umbrella
186 Driver Separate Alias(Zumbrella)
187
188 unexported_symbols_list
189 Driver Separate Alias(Zunexported_symbols_list)
190
191 weak_reference_mismatches
192 Driver Separate Alias(Zweak_reference_mismatches)
193
194 whatsloaded
195 Driver
196
197 whyload
198 Driver
199
200 y
201 Driver Joined
202
203 Mach
204 Driver
205
206 Wnonportable-cfstrings
207 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
208 Warn if constant CFString objects contain non-portable characters
209
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
214
215 mdynamic-no-pic
216 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
217 Generate code suitable for executables (NOT shared libs)
218
219 mfix-and-continue
220 Target Report Var(darwin_fix_and_continue)
221 Generate 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 ; ususally 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
231
232 mone-byte-bool
233 Target RejectNegative Report Var(darwin_one_byte_bool)
234 Set sizeof(bool) to 1
235
236 fapple-kext
237 Target Report C++ Var(flag_apple_kext)
238 Generate code for darwin loadable kernel extensions
239
240 mkernel
241 Target Report Var(flag_mkernel)
242 Generate code for the kernel or loadable kernel extensions
243
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
247
248 X
249 Driver
250
251 Zall_load
252 Driver
253
254 Zallowable_client
255 Driver Separate
256
257 Zarch_errors_fatal
258 Driver
259
260 Zbind_at_load
261 Driver
262
263 Zbundle
264 Driver
265
266 Zbundle_loader
267 Driver Separate
268
269 Zdead_strip
270 Driver
271
272 Zdylib_file
273 Driver Separate
274
275 Zdynamic
276 Driver
277
278 Zdynamiclib
279 Driver
280
281 Zexported_symbols_list
282 Driver Separate
283
284 Zfn_seg_addr_table_filename
285 Driver Separate
286
287 Zflat_namespace
288 Driver
289
290 Zforce_cpusubtype_ALL
291 Driver
292
293 Zforce_flat_namespace
294 Driver
295
296 Zimage_base
297 Driver Separate
298
299 Zinit
300 Driver Separate
301
302 Zinstall_name
303 Driver Separate
304
305 Zmulti_module
306 Driver
307
308 Zmultiply_defined
309 Driver Separate
310
311 Zmultiplydefinedunused
312 Driver Separate
313
314 Zno_dead_strip_inits_and_terms
315 Driver
316
317 Zseg_addr_table
318 Driver Separate
319
320 Zsegaddr
321 Driver Separate Args(2)
322
323 Zsegs_read_only_addr
324 Driver Separate
325
326 Zsegs_read_write_addr
327 Driver Separate
328
329 Zsingle_module
330 Driver
331
332 Zumbrella
333 Driver Separate
334
335 Zunexported_symbols_list
336 Driver Separate
337
338 Zweak_reference_mismatches
339 Driver Separate
340
341 client_name
342 Driver Separate
343
344 compatibility_version
345 Driver Separate
346
347 current_version
348 Driver Separate
349
350 dylinker_install_name
351 Driver Separate
352
353 pagezero_size
354 Driver Separate
355
356 read_only_relocs
357 Driver Separate
358
359 sectalign
360 Driver Separate Args(3)
361
362 sectcreate
363 Driver Separate Args(3)
364
365 sectobjectsymbols
366 Driver Separate Args(2)
367
368 sectorder
369 Driver Separate Args(3)
370
371 seg1addr
372 Driver Separate
373
374 segcreate
375 Driver Separate Args(3)
376
377 segprot
378 Driver Separate Args(3)
379
380 segs_read_only_addr
381 Driver Separate
382
383 segs_read_write_addr
384 Driver Separate
385
386 sub_library
387 Driver Separate
388
389 sub_umbrella
390 Driver Separate
391
392 undefined
393 Driver Separate