aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin7.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin7.h')
-rw-r--r--gcc/config/darwin7.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/config/darwin7.h b/gcc/config/darwin7.h
new file mode 100644
index 00000000000..47a8fa19222
--- /dev/null
+++ b/gcc/config/darwin7.h
@@ -0,0 +1,29 @@
+/* Target definitions for Darwin 7.0 and above (Mac OS X) systems.
+ Copyright (C) 2004
+ Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+/* Darwin 7.0 and above have C99 functions. */
+#define TARGET_C99_FUNCTIONS 1
+
+/* Machine dependent libraries, include libmx when compiling on Darwin 7.0
+ and above. */
+
+#undef LIB_SPEC
+#define LIB_SPEC "%{!static:-lSystem -lmx}"