2010-11-14 Paolo Bonzini <bonzini@gnu.org>
[official-gcc.git] / gcc / config / darwin.opt
blob0e234d9c62a45ae1cffa733988e8cb3454b374ec
1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005, 2007, 2010 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_errors_fatal
35 Driver Alias(Zarch_errors_fatal)
37 bind_at_load
38 Driver Alias(Zbind_at_load)
40 bundle
41 Driver Alias(Zbundle)
43 bundle_loader
44 Driver Separate Alias(Zbundle_loader)
46 dead_strip
47 Driver Alias(Zdead_strip)
49 dependency-file
50 C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
52 dylib_file
53 Driver Separate Alias(Zdylib_file)
55 dynamic
56 Driver Alias(Zdynamic)
58 dynamiclib
59 Driver Alias(Zdynamiclib)
61 exported_symbols_list
62 Driver Separate Alias(Zexported_symbols_list)
64 filelist
65 Driver RejectNegative Separate
67 findirect-virtual-calls
68 Driver RejectNegative
70 flat_namespace
71 Driver RejectNegative Alias(Zflat_namespace)
73 force_cpusubtype_ALL
74 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
76 force_flat_namespace
77 Driver RejectNegative Alias(Zforce_flat_namespace)
79 framework
80 Driver RejectNegative Separate
82 fterminated-vtables
83 Driver RejectNegative
85 gfull
86 Driver
88 gused
89 Driver
91 image_base
92 Driver Separate Alias(Zimage_base)
94 init
95 Driver Separate Alias(Zinit)
97 install_name
98 Driver Separate Alias(Zinstall_name)
100 mconstant-cfstrings
101 Target Report Var(darwin_constant_cfstrings) Init(1)
102 Generate compile-time CFString objects
104 multi_module
105 Driver RejectNegative Alias(Zmulti_module)
107 multiply_defined
108 Driver RejectNegative Separate Alias(Zmultiply_defined)
110 multiply_defined_unused
111 Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
113 no_dead_strip_inits_and_terms
114 Driver Alias(Zno_dead_strip_inits_and_terms)
116 seg_addr_table
117 Driver Separate Alias(Zseg_addr_table)
119 seg_addr_table_filename
120 Driver Separate Alias(Zfn_seg_addr_table_filename)
122 segaddr
123 Driver Separate Args(2) Alias(Zsegaddr)
125 segs_read_only_addr
126 Driver Separate Alias(Zsegs_read_only_addr)
128 segs_read_write_addr
129 Driver Separate Alias(Zsegs_read_write_addr)
131 single_module
132 Driver Alias(Zsingle_module)
134 umbrella
135 Driver Separate Alias(Zumbrella)
137 unexported_symbols_list
138 Driver Separate Alias(Zunexported_symbols_list)
140 weak_reference_mismatches
141 Driver Separate Alias(Zweak_reference_mismatches)
143 Wnonportable-cfstrings
144 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
145 Warn if constant CFString objects contain non-portable characters
147 ; Use new-style pic stubs if this is true, x86 only so far.
148 matt-stubs
149 Target Report Var(darwin_macho_att_stub) Init(1)
150 Generate AT&T-style stubs for Mach-O
152 mdynamic-no-pic
153 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
154 Generate code suitable for executables (NOT shared libs)
156 mfix-and-continue
157 Target Report Var(darwin_fix_and_continue)
158 Generate code suitable for fast turn around debugging
160 ; The Init here is for the convenience of GCC developers, so that
161 ; cc1 and cc1plus don't crash if no -mmacosx-version-min is passed.  The
162 ; driver will always pass a -mmacosx-version-min, so in normal use
163 ; the Init is never used.
164 mmacosx-version-min=
165 Target Joined Report Var(darwin_macosx_version_min) Init("10.1")
166 The earliest MacOS X version on which this program will run
168 mone-byte-bool
169 Target RejectNegative Report Var(darwin_one_byte_bool)
170 Set sizeof(bool) to 1
172 fapple-kext
173 Target Report C++ Var(flag_apple_kext)
174 Generate code for darwin loadable kernel extensions
176 mkernel
177 Target Report Var(flag_mkernel)
178 Generate code for the kernel or loadable kernel extensions
180 iframework
181 Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
182 -iframework <dir>       Add <dir> to the end of the system framework include path
184 Zall_load
185 Driver
187 Zallowable_client
188 Driver Separate
190 Zarch_errors_fatal
191 Driver
193 Zbind_at_load
194 Driver
196 Zbundle
197 Driver
199 Zbundle_loader
200 Driver Separate
202 Zdead_strip
203 Driver
205 Zdylib_file
206 Driver Separate
208 Zdynamic
209 Driver
211 Zdynamiclib
212 Driver
214 Zexported_symbols_list
215 Driver Separate
217 Zfn_seg_addr_table_filename
218 Driver Separate
220 Zflat_namespace
221 Driver
223 Zforce_cpusubtype_ALL
224 Driver
226 Zforce_flat_namespace
227 Driver
229 Zimage_base
230 Driver Separate
232 Zinit
233 Driver Separate
235 Zinstall_name
236 Driver Separate
238 Zmulti_module
239 Driver
241 Zmultiply_defined
242 Driver Separate
244 Zmultiplydefinedunused
245 Driver Separate
247 Zno_dead_strip_inits_and_terms
248 Driver
250 Zseg_addr_table
251 Driver Separate
253 Zsegaddr
254 Driver Separate Args(2)
256 Zsegs_read_only_addr
257 Driver Separate
259 Zsegs_read_write_addr
260 Driver Separate
262 Zsingle_module
263 Driver
265 Zumbrella
266 Driver Separate
268 Zunexported_symbols_list
269 Driver Separate
271 Zweak_reference_mismatches
272 Driver Separate
274 client_name
275 Driver Separate
277 compatibility_version
278 Driver Separate
280 current_version
281 Driver Separate
283 dylinker_install_name
284 Driver Separate
286 pagezero_size
287 Driver Separate
289 read_only_relocs
290 Driver Separate
292 sectalign
293 Driver Separate Args(3)
295 sectcreate
296 Driver Separate Args(3)
298 sectobjectsymbols
299 Driver Separate Args(2)
301 sectorder
302 Driver Separate Args(3)
304 seg1addr
305 Driver Separate
307 segcreate
308 Driver Separate Args(3)
310 segprot
311 Driver Separate Args(3)
313 segs_read_only_addr
314 Driver Separate
316 segs_read_write_addr
317 Driver Separate
319 sub_library
320 Driver Separate
322 sub_umbrella
323 Driver Separate
325 undefined
326 Driver Separate