aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k/sun3.h
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-13 21:25:26 +0000
committerRichard Stallman <rms@gnu.org>1993-10-13 21:25:26 +0000
commitb57a5cd39d48f9e358ee0e42f6859684f463d71b (patch)
tree81ea045343c0c3192524e14eb65a4b14c8a06ae8 /gcc/config/m68k/sun3.h
parentaa2e6789a8d729f7d00bbc4b090514bc2400399e (diff)
downloadgcc-b57a5cd39d48f9e358ee0e42f6859684f463d71b.zip
gcc-b57a5cd39d48f9e358ee0e42f6859684f463d71b.tar.gz
gcc-b57a5cd39d48f9e358ee0e42f6859684f463d71b.tar.bz2
(CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH.
From-SVN: r5780
Diffstat (limited to 'gcc/config/m68k/sun3.h')
-rw-r--r--gcc/config/m68k/sun3.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/m68k/sun3.h b/gcc/config/m68k/sun3.h
index 43a5391..8216d87 100644
--- a/gcc/config/m68k/sun3.h
+++ b/gcc/config/m68k/sun3.h
@@ -81,8 +81,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{fpic:-k} %{fPIC:-k}"
/* Names to predefine in the preprocessor for this target machine. */
+/* For a while, -D_CROSS_TARGET_ARCH=SUN3 was included here,
+ but it doesn't work, partly because SUN3 etc. aren't defined
+ (and shouldn't be). It seems that on a native compiler _CROSS_TARGET_ARCH
+ should not be defined. For cross compilers, let's do things as we
+ normally do in GCC. -- rms. */
-#define CPP_PREDEFINES "-Dmc68000 -Dsun -Dunix -D_CROSS_TARGET_ARCH=SUN3 -Asystem(unix) -Asystem(bsd) -Acpu(m68k) -Amachine(m68k)"
+#define CPP_PREDEFINES "-Dmc68000 -Dsun -Dunix -Asystem(unix) -Asystem(bsd) -Acpu(m68k) -Amachine(m68k)"
/* STARTFILE_SPEC to include sun floating point initialization
This is necessary (tr: Sun does it) for both the m68881 and the fpa