darwin.opt 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. ; Processor-independent options for Darwin.
  2. ; Copyright (C) 2005-2015 Free Software Foundation, Inc.
  3. ;
  4. ; This file is part of GCC.
  5. ;
  6. ; GCC is free software; you can redistribute it and/or modify it under
  7. ; the terms of the GNU General Public License as published by the Free
  8. ; Software Foundation; either version 3, or (at your option) any later
  9. ; version.
  10. ;
  11. ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  12. ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  14. ; for more details.
  15. ;
  16. ; You should have received a copy of the GNU General Public License
  17. ; along with GCC; see the file COPYING3. If not see
  18. ; <http://www.gnu.org/licenses/>.
  19. ; Various linker options have a -Z added so that they can get to specs
  20. ; processing without interference. Note that an option name with a
  21. ; prefix that matches another option name, that also takes an
  22. ; argument, being mapped to a -Z linker option, needs to be modified
  23. ; so the prefix is different, otherwise a '*' after the shorter option
  24. ; will match with the longer one.
  25. all_load
  26. Driver Alias(Zall_load)
  27. allowable_client
  28. Driver Separate Alias(Zallowable_client)
  29. arch
  30. Driver RejectNegative Separate
  31. arch_errors_fatal
  32. Driver Alias(Zarch_errors_fatal)
  33. bind_at_load
  34. Driver Alias(Zbind_at_load)
  35. bundle
  36. Driver Alias(Zbundle)
  37. bundle_loader
  38. Driver Separate Alias(Zbundle_loader)
  39. dead_strip
  40. Driver Alias(Zdead_strip)
  41. dependency-file
  42. C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs)
  43. dylib_file
  44. Driver Separate Alias(Zdylib_file)
  45. dylinker
  46. Driver
  47. dynamic
  48. Driver Alias(Zdynamic)
  49. dynamiclib
  50. Driver Alias(Zdynamiclib)
  51. exported_symbols_list
  52. Driver Separate Alias(Zexported_symbols_list)
  53. filelist
  54. Driver RejectNegative Separate
  55. findirect-virtual-calls
  56. Driver RejectNegative
  57. flat_namespace
  58. Driver RejectNegative Alias(Zflat_namespace)
  59. force_cpusubtype_ALL
  60. Driver RejectNegative Alias(Zforce_cpusubtype_ALL)
  61. force_flat_namespace
  62. Driver RejectNegative Alias(Zforce_flat_namespace)
  63. framework
  64. Driver RejectNegative Separate
  65. fterminated-vtables
  66. Driver RejectNegative
  67. gfull
  68. Driver
  69. gused
  70. Driver
  71. headerpad_max_install_names
  72. Driver
  73. image_base
  74. Driver Separate Alias(Zimage_base)
  75. init
  76. Driver Separate Alias(Zinit)
  77. install_name
  78. Driver Separate Alias(Zinstall_name)
  79. keep_private_externs
  80. Driver
  81. mconstant-cfstrings
  82. Target Report Var(darwin_constant_cfstrings) Init(1)
  83. Generate compile-time CFString objects
  84. multi_module
  85. Driver RejectNegative Alias(Zmulti_module)
  86. multiply_defined
  87. Driver RejectNegative Separate Alias(Zmultiply_defined)
  88. multiply_defined_unused
  89. Driver RejectNegative Separate Alias(Zmultiplydefinedunused)
  90. no_dead_strip_inits_and_terms
  91. Driver Alias(Zno_dead_strip_inits_and_terms)
  92. nofixprebinding
  93. Driver
  94. nomultidefs
  95. Driver
  96. noprebind
  97. Driver
  98. noseglinkedit
  99. Driver
  100. object
  101. Driver
  102. prebind
  103. Driver
  104. prebind_all_twolevel_modules
  105. Driver
  106. preload
  107. Driver
  108. private_bundle
  109. Driver
  110. pthread
  111. Driver
  112. seg_addr_table
  113. Driver Separate Alias(Zseg_addr_table)
  114. seg_addr_table_filename
  115. Driver Separate Alias(Zfn_seg_addr_table_filename)
  116. segaddr
  117. Driver Separate Args(2) Alias(Zsegaddr)
  118. seglinkedit
  119. Driver
  120. segs_read_only_addr
  121. Driver Separate Alias(Zsegs_read_only_addr)
  122. segs_read_write_addr
  123. Driver Separate Alias(Zsegs_read_write_addr)
  124. single_module
  125. Driver Alias(Zsingle_module)
  126. twolevel_namespace
  127. Driver
  128. twolevel_namespace_hints
  129. Driver
  130. umbrella
  131. Driver Separate Alias(Zumbrella)
  132. unexported_symbols_list
  133. Driver Separate Alias(Zunexported_symbols_list)
  134. weak_reference_mismatches
  135. Driver Separate Alias(Zweak_reference_mismatches)
  136. whatsloaded
  137. Driver
  138. whyload
  139. Driver
  140. y
  141. Driver Joined
  142. Mach
  143. Driver
  144. Wnonportable-cfstrings
  145. Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
  146. 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
  151. mdynamic-no-pic
  152. Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
  153. Generate code suitable for executables (NOT shared libs)
  154. mfix-and-continue
  155. Target Report Var(darwin_fix_and_continue)
  156. Generate code suitable for fast turn around debugging
  157. ; The Init here is for the convenience of GCC developers, so that cc1
  158. ; and cc1plus don't crash if no -mmacosx-version-min is passed. The
  159. ; driver will always pass a -mmacosx-version-min, so in normal use the
  160. ; Init is never used. Useful for setting the OS on which people
  161. ; usually debug.
  162. mmacosx-version-min=
  163. Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
  164. The earliest MacOS X version on which this program will run
  165. mone-byte-bool
  166. Target RejectNegative Report Var(darwin_one_byte_bool)
  167. Set sizeof(bool) to 1
  168. fapple-kext
  169. Target Report C++ Var(flag_apple_kext)
  170. Generate code for darwin loadable kernel extensions
  171. mkernel
  172. Target Report Var(flag_mkernel)
  173. Generate code for the kernel or loadable kernel extensions
  174. iframework
  175. Target RejectNegative C ObjC C++ ObjC++ Joined Separate
  176. -iframework <dir> Add <dir> to the end of the system framework include path
  177. X
  178. Driver
  179. Zall_load
  180. Driver
  181. Zallowable_client
  182. Driver Separate
  183. Zarch_errors_fatal
  184. Driver
  185. Zbind_at_load
  186. Driver
  187. Zbundle
  188. Driver
  189. Zbundle_loader
  190. Driver Separate
  191. Zdead_strip
  192. Driver
  193. Zdylib_file
  194. Driver Separate
  195. Zdynamic
  196. Driver
  197. Zdynamiclib
  198. Driver
  199. Zexported_symbols_list
  200. Driver Separate
  201. Zfn_seg_addr_table_filename
  202. Driver Separate
  203. Zflat_namespace
  204. Driver
  205. Zforce_cpusubtype_ALL
  206. Driver
  207. Zforce_flat_namespace
  208. Driver
  209. Zimage_base
  210. Driver Separate
  211. Zinit
  212. Driver Separate
  213. Zinstall_name
  214. Driver Separate
  215. Zmulti_module
  216. Driver
  217. Zmultiply_defined
  218. Driver Separate
  219. Zmultiplydefinedunused
  220. Driver Separate
  221. Zno_dead_strip_inits_and_terms
  222. Driver
  223. Zseg_addr_table
  224. Driver Separate
  225. Zsegaddr
  226. Driver Separate Args(2)
  227. Zsegs_read_only_addr
  228. Driver Separate
  229. Zsegs_read_write_addr
  230. Driver Separate
  231. Zsingle_module
  232. Driver
  233. Zumbrella
  234. Driver Separate
  235. Zunexported_symbols_list
  236. Driver Separate
  237. Zweak_reference_mismatches
  238. Driver Separate
  239. client_name
  240. Driver Separate
  241. compatibility_version
  242. Driver Separate
  243. current_version
  244. Driver Separate
  245. dylinker_install_name
  246. Driver Separate
  247. pagezero_size
  248. Driver Separate
  249. read_only_relocs
  250. Driver Separate
  251. sectalign
  252. Driver Separate Args(3)
  253. sectcreate
  254. Driver Separate Args(3)
  255. sectobjectsymbols
  256. Driver Separate Args(2)
  257. sectorder
  258. Driver Separate Args(3)
  259. seg1addr
  260. Driver Separate
  261. segcreate
  262. Driver Separate Args(3)
  263. segprot
  264. Driver Separate Args(3)
  265. segs_read_only_addr
  266. Driver Separate
  267. segs_read_write_addr
  268. Driver Separate
  269. sub_library
  270. Driver Separate
  271. sub_umbrella
  272. Driver Separate
  273. undefined
  274. Driver Separate