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)
56 Driver Alias(Zdynamic)
59 Driver Alias(Zdynamiclib)
62 Driver Separate Alias(Zexported_symbols_list)
65 Driver RejectNegative Separate
67 findirect-virtual-calls
71 Driver RejectNegative Alias(Zflat_namespace)
74 Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
77 Driver RejectNegative Alias(Zforce_flat_namespace)
80 Driver RejectNegative Separate
92 Driver Separate Alias(Zimage_base)
95 Driver Separate Alias(Zinit)
98 Driver Separate Alias(Zinstall_name)
101 Target Report Var(darwin_constant_cfstrings) Init(1)
102 Generate compile-time CFString objects
105 Driver RejectNegative Alias(Zmulti_module)
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)
117 Driver Separate Alias(Zseg_addr_table)
119 seg_addr_table_filename
120 Driver Separate Alias(Zfn_seg_addr_table_filename)
123 Driver Separate Args(2) Alias(Zsegaddr)
126 Driver Separate Alias(Zsegs_read_only_addr)
129 Driver Separate Alias(Zsegs_read_write_addr)
132 Driver Alias(Zsingle_module)
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.
149 Target Report Var(darwin_macho_att_stub) Init(1)
150 Generate AT&T-style stubs for Mach-O
153 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
154 Generate code suitable for executables (NOT shared libs)
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.
165 Target Joined Report Var(darwin_macosx_version_min) Init("10.1")
166 The earliest MacOS X version on which this program will run
169 Target RejectNegative Report Var(darwin_one_byte_bool)
170 Set sizeof(bool) to 1
173 Target Report C++ Var(flag_apple_kext)
174 Generate code for darwin loadable kernel extensions
177 Target Report Var(flag_mkernel)
178 Generate code for the kernel or loadable kernel extensions
181 Target RejectNegative C ObjC C++ ObjC++ Joined Separate
182 -iframework <dir> Add <dir> to the end of the system framework include path
214 Zexported_symbols_list
217 Zfn_seg_addr_table_filename
223 Zforce_cpusubtype_ALL
226 Zforce_flat_namespace
244 Zmultiplydefinedunused
247 Zno_dead_strip_inits_and_terms
254 Driver Separate Args(2)
259 Zsegs_read_write_addr
268 Zunexported_symbols_list
271 Zweak_reference_mismatches
277 compatibility_version
283 dylinker_install_name
293 Driver Separate Args(3)
296 Driver Separate Args(3)
299 Driver Separate Args(2)
302 Driver Separate Args(3)
308 Driver Separate Args(3)
311 Driver Separate Args(3)