1 ; Processor-independent options for Darwin.
3 ; Copyright (C) 2005-2015 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
162 Driver Separate Alias(Zseg_addr_table)
164 seg_addr_table_filename
165 Driver Separate Alias(Zfn_seg_addr_table_filename)
168 Driver Separate Args(2) Alias(Zsegaddr)
174 Driver Separate Alias(Zsegs_read_only_addr)
177 Driver Separate Alias(Zsegs_read_write_addr)
180 Driver Alias(Zsingle_module)
185 twolevel_namespace_hints
189 Driver Separate Alias(Zumbrella)
191 unexported_symbols_list
192 Driver Separate Alias(Zunexported_symbols_list)
194 weak_reference_mismatches
195 Driver Separate Alias(Zweak_reference_mismatches)
209 Wnonportable-cfstrings
210 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
211 Warn if constant CFString objects contain non-portable characters
213 ; Use new-style pic stubs if this is true, x86 only so far.
215 Target Report Var(darwin_macho_att_stub) Init(1)
216 Generate AT&T-style stubs for Mach-O
219 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
220 Generate code suitable for executables (NOT shared libs)
223 Target Report Var(darwin_fix_and_continue)
224 Generate code suitable for fast turn around debugging
226 ; The Init here is for the convenience of GCC developers, so that cc1
227 ; and cc1plus don't crash if no -mmacosx-version-min is passed. The
228 ; driver will always pass a -mmacosx-version-min, so in normal use the
229 ; Init is never used. Useful for setting the OS on which people
232 Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
233 The earliest MacOS X version on which this program will run
236 Target RejectNegative Report Var(darwin_one_byte_bool)
237 Set sizeof(bool) to 1
240 Target Report C++ Var(flag_apple_kext)
241 Generate code for darwin loadable kernel extensions
244 Target Report Var(flag_mkernel)
245 Generate code for the kernel or loadable kernel extensions
248 Target RejectNegative C ObjC C++ ObjC++ Joined Separate
249 -iframework <dir> Add <dir> to the end of the system framework include path
284 Zexported_symbols_list
287 Zfn_seg_addr_table_filename
293 Zforce_cpusubtype_ALL
296 Zforce_flat_namespace
314 Zmultiplydefinedunused
317 Zno_dead_strip_inits_and_terms
324 Driver Separate Args(2)
329 Zsegs_read_write_addr
338 Zunexported_symbols_list
341 Zweak_reference_mismatches
347 compatibility_version
353 dylinker_install_name
363 Driver Separate Args(3)
366 Driver Separate Args(3)
369 Driver Separate Args(2)
372 Driver Separate Args(3)
378 Driver Separate Args(3)
381 Driver Separate Args(3)