OSDN Git Service

Initial revision
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jul 1996 16:44:43 +0000 (16:44 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jul 1996 16:44:43 +0000 (16:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12511 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/go32-rtems.h [new file with mode: 0644]
gcc/config/i386/rtems.h [new file with mode: 0644]
gcc/config/i960/rtems.h [new file with mode: 0644]
gcc/config/m68k/rtems.h [new file with mode: 0644]
gcc/config/rs6000/rtems.h [new file with mode: 0644]
gcc/config/sparc/rtems.h [new file with mode: 0644]

diff --git a/gcc/config/i386/go32-rtems.h b/gcc/config/i386/go32-rtems.h
new file mode 100644 (file)
index 0000000..2a7d2e5
--- /dev/null
@@ -0,0 +1,31 @@
+/* Configuration for an i386 running RTEMS on top of MS-DOS with djgpp/go32.  */
+
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Joel Sherrill (joel@OARcorp.com).
+This file is part of GNU CC.
+GNU CC 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.
+GNU CC 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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
+#include "i386/go32.h"
+
+/* Specify predefined symbols in preprocessor.  */
+
+#ifdef CPP_PREDEFINES
+#undef CPP_PREDEFINES
+#endif
+#define CPP_PREDEFINES "-Dunix -Di386 -DGO32 -DMSDOS -Drtems -D__rtems__ \
+  -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Asystem(rtems)"
diff --git a/gcc/config/i386/rtems.h b/gcc/config/i386/rtems.h
new file mode 100644 (file)
index 0000000..99c817a
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions for rtems targetting an Intel i386 using coff.
+
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Joel Sherrill (joel@OARcorp.com).
+
+This file is part of GNU CC.
+
+GNU CC 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.
+
+GNU CC 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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
+#include "i386/i386-coff.h"
+
+/* Specify predefined symbols in preprocessor.  */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Di386 -Drtems -D__rtems__ \
+   -Asystem(rtems) -Acpu(i386) -Amachine(i386)"
+
+/* end of i386-rtems.h */
diff --git a/gcc/config/i960/rtems.h b/gcc/config/i960/rtems.h
new file mode 100644 (file)
index 0000000..9263027
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions for rtems targetting an Intel i960.
+
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Joel Sherrill (joel@OARcorp.com).
+
+This file is part of GNU CC.
+
+GNU CC 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.
+
+GNU CC 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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
+#include "i960/i960-coff.h"
+
+/* Specify predefined symbols in preprocessor.  */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Drtems -D__rtems__ \
+   -Asystem(rtems) -Acpu(i960) -Amachine(i960)"
+
+/* end of i960-rtems.h */
diff --git a/gcc/config/m68k/rtems.h b/gcc/config/m68k/rtems.h
new file mode 100644 (file)
index 0000000..99f4505
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions for rtems targetting an Intel m68k using coff.
+
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Joel Sherrill (joel@OARcorp.com).
+
+This file is part of GNU CC.
+
+GNU CC 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.
+
+GNU CC 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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
+#include "m68k/m68k-coff.h"
+
+/* Specify predefined symbols in preprocessor.  */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dmc68000 -Drtems -D__rtems__ \
+   -Asystem(rtems) -Acpu(mc68000) -Acpu(m68k) -Amachine(m68k)"
+
+/* end of m68k-rtems.h */
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h
new file mode 100644 (file)
index 0000000..ff560aa
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions for rtems targetting a PowerPC using elf.
+
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Joel Sherrill (joel@OARcorp.com).
+
+This file is part of GNU CC.
+
+GNU CC 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.
+
+GNU CC 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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
+#include "rs6000/sysv4.h"
+
+/* Specify predefined symbols in preprocessor.  */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-DPPC -Drtems -D__rtems__ \
+   -Asystem(rtems) -Acpu(powerpc) -Amachine(powerpc)"
+
+/* end of powerpc-rtems.h */
diff --git a/gcc/config/sparc/rtems.h b/gcc/config/sparc/rtems.h
new file mode 100644 (file)
index 0000000..5e5ea14
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions for rtems targetting a SPARC using a.out.
+
+   Copyright (C) 1996 Free Software Foundation, Inc.
+   Contributed by Joel Sherrill (joel@OARcorp.com).
+
+This file is part of GNU CC.
+
+GNU CC 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.
+
+GNU CC 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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
+#include "sparc/aout.h"
+
+/* Specify predefined symbols in preprocessor.  */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -Drtems -D__rtems__ \
+  -Asystem(rtems) -Acpu(sparc) -Amachine(sparc)"
+
+/* end of sparc-rtems.h */