diff gcc/config/darwin.opt @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
line wrap: on
line diff
--- a/gcc/config/darwin.opt	Sun Aug 21 07:07:55 2011 +0900
+++ b/gcc/config/darwin.opt	Fri Oct 27 22:46:09 2017 +0900
@@ -1,6 +1,6 @@
 ; Processor-independent options for Darwin.
 
-; Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc.
+; Copyright (C) 2005-2017 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -31,9 +31,15 @@
 allowable_client
 Driver Separate Alias(Zallowable_client)
 
+arch
+Driver RejectNegative Separate
+
 arch_errors_fatal
 Driver Alias(Zarch_errors_fatal)
 
+asm_macosx_version_min=
+Driver RejectNegative Joined
+
 bind_at_load
 Driver Alias(Zbind_at_load)
 
@@ -86,10 +92,10 @@
 Driver RejectNegative
 
 gfull
-Driver
+Driver RejectNegative
 
 gused
-Driver
+Driver RejectNegative
 
 headerpad_max_install_names
 Driver
@@ -108,7 +114,7 @@
 
 mconstant-cfstrings
 Target Report Var(darwin_constant_cfstrings) Init(1)
-Generate compile-time CFString objects
+Generate compile-time CFString objects.
 
 multi_module
 Driver RejectNegative Alias(Zmulti_module)
@@ -152,6 +158,9 @@
 pthread
 Driver
 
+rdynamic
+Driver
+
 seg_addr_table
 Driver Separate Alias(Zseg_addr_table)
 
@@ -202,45 +211,44 @@
 
 Wnonportable-cfstrings
 Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning
-Warn if constant CFString objects contain non-portable characters
+Warn if constant CFString objects contain non-portable characters.
 
 ; Use new-style pic stubs if this is true, x86 only so far.
 matt-stubs
 Target Report Var(darwin_macho_att_stub) Init(1)
-Generate AT&T-style stubs for Mach-O
+Generate AT&T-style stubs for Mach-O.
 
 mdynamic-no-pic
 Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
-Generate code suitable for executables (NOT shared libs)
+Generate code suitable for executables (NOT shared libs).
 
 mfix-and-continue
 Target Report Var(darwin_fix_and_continue)
-Generate code suitable for fast turn around debugging
+Generate code suitable for fast turn around debugging.
 
 ; The Init here is for the convenience of GCC developers, so that cc1
 ; and cc1plus don't crash if no -mmacosx-version-min is passed.  The
 ; driver will always pass a -mmacosx-version-min, so in normal use the
-; Init is never used.  Useful for setting the OS on which people
-; ususally debug.
+; Init is never used.
 mmacosx-version-min=
-Target Joined Report Var(darwin_macosx_version_min) Init("10.6")
-The earliest MacOS X version on which this program will run
+Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION)
+The earliest MacOS X version on which this program will run.
 
 mone-byte-bool
 Target RejectNegative Report Var(darwin_one_byte_bool)
-Set sizeof(bool) to 1
+Set sizeof(bool) to 1.
 
 fapple-kext
 Target Report C++ Var(flag_apple_kext)
-Generate code for darwin loadable kernel extensions
+Generate code for darwin loadable kernel extensions.
 
 mkernel
 Target Report Var(flag_mkernel)
-Generate code for the kernel or loadable kernel extensions
+Generate code for the kernel or loadable kernel extensions.
 
 iframework
 Target RejectNegative C ObjC C++ ObjC++ Joined Separate 
--iframework <dir>	Add <dir> to the end of the system framework include path
+-iframework <dir>	Add <dir> to the end of the system framework include path.
 
 X
 Driver
@@ -386,5 +394,11 @@
 sub_umbrella
 Driver Separate
 
+; Certain aspects of code-gen may be improved / adjusted if the version of ld64
+; is sufficiently modern.
+mtarget-linker
+Target RejectNegative Joined Separate Report Var(darwin_target_linker) Init(LD64_VERSION)
+The version of ld64 in use for this toolchain.
+
 undefined
 Driver Separate