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
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
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.
29 Driver Alias(Zall_load)
32 Driver Separate Alias(Zallowable_client)
35 Driver Alias(Zarch_errors_fatal)
38 Driver Alias(Zbind_at_load)
44 Driver Separate Alias(Zbundle_loader)
47 Driver Alias(Zdead_strip)
50 C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
53 Driver Separate Alias(Zdylib_file)
59 Driver Alias(Zdynamic)
62 Driver Alias(Zdynamiclib)
65 Driver Separate Alias(Zexported_symbols_list)
68 Driver RejectNegative Separate
70 findirect-virtual-calls
74 Driver RejectNegative Alias(Zflat_namespace)
77 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
80 Driver RejectNegative Alias(Zforce_flat_namespace)
83 Driver RejectNegative Separate
94 headerpad_max_install_names
98 Driver Separate Alias(Zimage_base)
101 Driver Separate Alias(Zinit)
104 Driver Separate Alias(Zinstall_name)
110 Target Report Var(darwin_constant_cfstrings) Init(1)
111 Generate compile-time CFString objects
114 Driver RejectNegative Alias(Zmulti_module)
117 Driver RejectNegative Separate Alias(Zmultiply_defined)
119 multiply_defined_unused
120 Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
122 no_dead_strip_inits_and_terms
123 Driver Alias(Zno_dead_strip_inits_and_terms)
143 prebind_all_twolevel_modules
156 Driver Separate Alias(Zseg_addr_table)
158 seg_addr_table_filename
159 Driver Separate Alias(Zfn_seg_addr_table_filename)
162 Driver Separate Args(2) Alias(Zsegaddr)
168 Driver Separate Alias(Zsegs_read_only_addr)
171 Driver Separate Alias(Zsegs_read_write_addr)
174 Driver Alias(Zsingle_module)
179 twolevel_namespace_hints
183 Driver Separate Alias(Zumbrella)
185 unexported_symbols_list
186 Driver Separate Alias(Zunexported_symbols_list)
188 weak_reference_mismatches
189 Driver Separate Alias(Zweak_reference_mismatches)
203 Wnonportable-cfstrings
204 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
205 Warn if constant CFString objects contain non-portable characters
207 ; Use new-style pic stubs if this is true, x86 only so far.
209 Target Report Var(darwin_macho_att_stub) Init(1)
210 Generate AT&T-style stubs for Mach-O
213 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
214 Generate code suitable for executables (NOT shared libs)
217 Target Report Var(darwin_fix_and_continue)
218 Generate code suitable for fast turn around debugging
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.
225 Target Joined Report Var(darwin_macosx_version_min) Init("10.1")
226 The earliest MacOS X version on which this program will run
229 Target RejectNegative Report Var(darwin_one_byte_bool)
230 Set sizeof(bool) to 1
233 Target Report C++ Var(flag_apple_kext)
234 Generate code for darwin loadable kernel extensions
237 Target Report Var(flag_mkernel)
238 Generate code for the kernel or loadable kernel extensions
241 Target RejectNegative C ObjC C++ ObjC++ Joined Separate
242 -iframework <dir> Add <dir> to the end of the system framework include path
277 Zexported_symbols_list
280 Zfn_seg_addr_table_filename
286 Zforce_cpusubtype_ALL
289 Zforce_flat_namespace
307 Zmultiplydefinedunused
310 Zno_dead_strip_inits_and_terms
317 Driver Separate Args(2)
322 Zsegs_read_write_addr
331 Zunexported_symbols_list
334 Zweak_reference_mismatches
340 compatibility_version
346 dylinker_install_name
356 Driver Separate Args(3)
359 Driver Separate Args(3)
362 Driver Separate Args(2)
365 Driver Separate Args(3)
371 Driver Separate Args(3)
374 Driver Separate Args(3)