1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005-2013 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 RejectNegative Separate
38 Driver Alias(Zarch_errors_fatal)
41 Driver Alias(Zbind_at_load)
47 Driver Separate Alias(Zbundle_loader)
50 Driver Alias(Zdead_strip)
53 C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
56 Driver Separate Alias(Zdylib_file)
62 Driver Alias(Zdynamic)
65 Driver Alias(Zdynamiclib)
68 Driver Separate Alias(Zexported_symbols_list)
71 Driver RejectNegative Separate
73 findirect-virtual-calls
77 Driver RejectNegative Alias(Zflat_namespace)
80 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
83 Driver RejectNegative Alias(Zforce_flat_namespace)
86 Driver RejectNegative Separate
97 headerpad_max_install_names
101 Driver Separate Alias(Zimage_base)
104 Driver Separate Alias(Zinit)
107 Driver Separate Alias(Zinstall_name)
113 Target Report Var(darwin_constant_cfstrings) Init(1)
114 Generate compile-time CFString objects
117 Driver RejectNegative Alias(Zmulti_module)
120 Driver RejectNegative Separate Alias(Zmultiply_defined)
122 multiply_defined_unused
123 Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
125 no_dead_strip_inits_and_terms
126 Driver Alias(Zno_dead_strip_inits_and_terms)
146 prebind_all_twolevel_modules
159 Driver Separate Alias(Zseg_addr_table)
161 seg_addr_table_filename
162 Driver Separate Alias(Zfn_seg_addr_table_filename)
165 Driver Separate Args(2) Alias(Zsegaddr)
171 Driver Separate Alias(Zsegs_read_only_addr)
174 Driver Separate Alias(Zsegs_read_write_addr)
177 Driver Alias(Zsingle_module)
182 twolevel_namespace_hints
186 Driver Separate Alias(Zumbrella)
188 unexported_symbols_list
189 Driver Separate Alias(Zunexported_symbols_list)
191 weak_reference_mismatches
192 Driver Separate Alias(Zweak_reference_mismatches)
206 Wnonportable-cfstrings
207 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
208 Warn if constant CFString objects contain non-portable characters
210 ; Use new-style pic stubs if this is true, x86 only so far.
212 Target Report Var(darwin_macho_att_stub) Init(1)
213 Generate AT&T-style stubs for Mach-O
216 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
217 Generate code suitable for executables (NOT shared libs)
220 Target Report Var(darwin_fix_and_continue)
221 Generate code suitable for fast turn around debugging
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
229 Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
230 The earliest MacOS X version on which this program will run
233 Target RejectNegative Report Var(darwin_one_byte_bool)
234 Set sizeof(bool) to 1
237 Target Report C++ Var(flag_apple_kext)
238 Generate code for darwin loadable kernel extensions
241 Target Report Var(flag_mkernel)
242 Generate code for the kernel or loadable kernel extensions
245 Target RejectNegative C ObjC C++ ObjC++ Joined Separate
246 -iframework <dir> Add <dir> to the end of the system framework include path
281 Zexported_symbols_list
284 Zfn_seg_addr_table_filename
290 Zforce_cpusubtype_ALL
293 Zforce_flat_namespace
311 Zmultiplydefinedunused
314 Zno_dead_strip_inits_and_terms
321 Driver Separate Args(2)
326 Zsegs_read_write_addr
335 Zunexported_symbols_list
338 Zweak_reference_mismatches
344 compatibility_version
350 dylinker_install_name
360 Driver Separate Args(3)
363 Driver Separate Args(3)
366 Driver Separate Args(2)
369 Driver Separate Args(3)
375 Driver Separate Args(3)
378 Driver Separate Args(3)