aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-06-07 18:56:51 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-06-07 18:56:51 +0000
commite46b55d03847d5da02710dc7c53bed67edd007ad (patch)
treed9d864d915cd9c3d17707352d3bf0704f21f26ab /gcc/config/darwin.h
parentabea993f795f6b843d0a9ea036a93cb5d6f90bc1 (diff)
downloadgcc-e46b55d03847d5da02710dc7c53bed67edd007ad.zip
gcc-e46b55d03847d5da02710dc7c53bed67edd007ad.tar.gz
gcc-e46b55d03847d5da02710dc7c53bed67edd007ad.tar.bz2
Index: ChangeLog
2007-06-06 Geoffrey Keating <geoffk@apple.com> Hui-May Chang <hm.chang@apple.com> * doc/invoke.texi (Darwin Options): Update documentation for -mmacosx-version-min. * config.gcc (*-*-darwin*): Set extra_gcc_objs. * config/darwin-driver.c: New file. * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION): New. * config/t-darwin (darwin-driver.o): New rule. * config/darwin-c.c (version_as_macro): Ignore low digit. Index: testsuite/ChangeLog 2007-06-06 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-minversion-3.c: New. Co-Authored-By: Hui-May Chang <hm.chang@apple.com> From-SVN: r125537
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 9d7fdb1..e135191 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -986,4 +986,10 @@ extern int flag_apple_kext;
#define TARGET_HAS_TARGETCM 1
+#ifndef CROSS_DIRECTORY_STRUCTURE
+extern void darwin_default_min_version (int * argc, char *** argv);
+#define GCC_DRIVER_HOST_INITIALIZATION \
+ darwin_default_min_version (&argc, &argv)
+#endif /* CROSS_DIRECTORY_STRUCTURE */
+
#endif /* CONFIG_DARWIN_H */