OSDN Git Service

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