diff options
author | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-24 19:35:49 +0000 |
---|---|---|
committer | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-24 19:35:49 +0000 |
commit | 01e91138b88a77434927fca9485e28881f52a6a0 (patch) | |
tree | aacd91d7a2c16d4c04d309e34603ec4685f24fba /gcc/config/powerpcspe/darwin7.h | |
parent | eccb63ff9e2e29efde5293a2cc744e758dbcf317 (diff) | |
download | gcc-01e91138b88a77434927fca9485e28881f52a6a0.tar.gz |
Split off powerpcspe from rs6000 port
* config/powerpcspe: New port. Files are copied from the rs6000
port, with "rs6000" in filenames replaced by "powerpcspe".
* config.gcc (powerpc*-*-*spe*): New.
(powerpc-*-eabispe*): Use ${cpu_type} instead of hardcoded pathnames.
(powerpc-*-rtems*spe*): New.
(powerpc*-*-linux*spe*): New.
(powerpc-wrs-vxworksspe): New.
(powerpc*-*-*, rs6000-*-*): Use ${cpu_type}.
(misc flags) [powerpc*-*-*, rs6000-*-*): Use ${cpu_type}.
* config.host (powerpc*-*-*spe*): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/powerpcspe/darwin7.h')
-rw-r--r-- | gcc/config/powerpcspe/darwin7.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc/config/powerpcspe/darwin7.h b/gcc/config/powerpcspe/darwin7.h new file mode 100644 index 00000000000..f5e9f893030 --- /dev/null +++ b/gcc/config/powerpcspe/darwin7.h @@ -0,0 +1,32 @@ +/* Target definitions for Darwin 7.x (Mac OS X) systems. + Copyright (C) 2004-2017 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 3, 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 COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +/* Machine dependent libraries. Include libmx when compiling for + Darwin 7.0 and above, but before libSystem, since the functions are + actually in libSystem but for 7.x compatibility we want them to be + looked for in libmx first. Include libmx by default because otherwise + libstdc++ isn't usable. */ + +#undef LIB_SPEC +#define LIB_SPEC "%{!static:\ + %:version-compare(!< 10.3 mmacosx-version-min= -lmx)\ + -lSystem}" + +#undef DEF_MIN_OSX_VERSION +#define DEF_MIN_OSX_VERSION "10.3.9" |