]> gcc.gnu.org Git - gcc.git/commitdiff
Initial revision
authorStan Cox <coxs@gnu.org>
Mon, 11 Jul 1994 17:51:24 +0000 (17:51 +0000)
committerStan Cox <coxs@gnu.org>
Mon, 11 Jul 1994 17:51:24 +0000 (17:51 +0000)
From-SVN: r7704

gcc/config/m88k/dguxbcs.h [new file with mode: 0644]
gcc/config/m88k/x-dguxbcs [new file with mode: 0644]

diff --git a/gcc/config/m88k/dguxbcs.h b/gcc/config/m88k/dguxbcs.h
new file mode 100644 (file)
index 0000000..acba809
--- /dev/null
@@ -0,0 +1,62 @@
+/* Definitions of target machine for GNU compiler.
+   Motorola m88100 running DG/UX.
+   Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
+   Contributed by Michael Tiemann (tiemann@mcc.com)
+   Enhanced by Michael Meissner (meissner@osf.org)
+   Version 2 port by Tom Wood (twood@pets.sps.mot.com)
+   Currently maintained by (gcc@dg-rtp.dg.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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+#include "m88k/dgux.h"
+
+/* dgux.h builds an elf gcc which compiles elf objects by default.
+   dguxbcs.h builds a bcs gcc which compiles bcs objects by default.
+   The default can be overridden in either case with -msvr3 and -msvr4 */
+
+/* Default switches */
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV     | \
+                        MASK_OCS_DEBUG_INFO     | \
+                        MASK_OCS_FRAME_POSITION | \
+                        MASK_SVR3)
+
+/* Assembler support (-V, silicon filter, legends for mxdb).  */
+#undef ASM_SPEC
+#define ASM_SPEC "\
+%{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
+%{msvr4:%{mversion-03.00:-KV3}%{!mversion-03.00:%{mversion-*:-KV%*}}}}\
+%{!mlegend:%{mstandard:-Wc,off}}\
+%{mlegend:-Wc,-fix-bb,-h\"gcc-" VERSION_INFO2 "\",-s\"%i\"\
+%{traditional:,-lc}%{!traditional:,-lansi-c}\
+%{mstandard:,-keep-std}\
+%{mkeep-coff:,-keep-coff}\
+%{mexternal-legend:,-external}\
+%{mocs-frame-position:,-ocs}}"
+
+/* Linker and library spec's.
+   -msvr3 is the default if -msvr4 is not specified. */
+#undef LIB_SPEC
+#define LIB_SPEC "%{msvr4:%{!shared:-lstaticdgc}} %{!shared:%{!symbolic:-lc}} crtend.o%s"
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC "%{!shared:%{!symbolic:%{pg:gcrt0.o%s} \
+                        %{!pg:%{p:/lib/mcrt0.o}%{!p:/lib/crt0.o}} \
+                        %{!msvr4:m88kdgux.ld%s bcscrtbegin.o%s} \
+                        %{msvr4:crtbegin.o%s} \
+                        %{svr4:%{ansi:/lib/values-Xc.o} \
+                         %{!ansi:%{traditional:/lib/values-Xt.o} \
+                          %{!traditional:/usr/lib/values-Xa.o}}}}}"
diff --git a/gcc/config/m88k/x-dguxbcs b/gcc/config/m88k/x-dguxbcs
new file mode 100644 (file)
index 0000000..e49dbcf
--- /dev/null
@@ -0,0 +1,8 @@
+CC = /bin/gcc
+# Build libgcc.a, crtbegin.o, and crtend.o as bcs objects
+GCC_FOR_TARGET = PATH=/usr/sde/m88kbcs/usr/bin/:/usr/bin TARGET_BINARY_INTERFACE=m88kbcs ./xgcc -B./ -msvr3 -D_M88KBCS_TARGET
+BISONFLAGS = -l
+X_CFLAGS = -D_M88KBCS_TARGET
+INSTALL_HEADERS = 
+STMP_FIXPROTO = 
+
This page took 0.062739 seconds and 5 git commands to generate.