aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-08-31 14:17:04 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-08-31 14:17:04 -0700
commit67d4766b4a562bdf49633d0af7d8659930ce973e (patch)
tree5e5ccbc919f58cceb64b043d3292ed39e0034e6c
parent432fde528eaf89838a6179516b896ea82711903b (diff)
downloadgcc-67d4766b4a562bdf49633d0af7d8659930ce973e.zip
gcc-67d4766b4a562bdf49633d0af7d8659930ce973e.tar.gz
gcc-67d4766b4a562bdf49633d0af7d8659930ce973e.tar.bz2
New file.
From-SVN: r5235
-rw-r--r--gcc/config/x-lynx7
-rw-r--r--gcc/config/xm-lynx.h42
2 files changed, 49 insertions, 0 deletions
diff --git a/gcc/config/x-lynx b/gcc/config/x-lynx
new file mode 100644
index 0000000..8252906
--- /dev/null
+++ b/gcc/config/x-lynx
@@ -0,0 +1,7 @@
+# /bin/cc is hopelessly broken, so we must use /bin/gcc instead.
+CC = $(OLDCC)
+OLDCC = /bin/gcc
+
+# ??? This takes far too long to run, several hours, so let's not do it for
+# now.
+STMP_FIXPROTO =
diff --git a/gcc/config/xm-lynx.h b/gcc/config/xm-lynx.h
new file mode 100644
index 0000000..80acb80
--- /dev/null
+++ b/gcc/config/xm-lynx.h
@@ -0,0 +1,42 @@
+/* Configuration for GNU C-compiler for Lynx.
+ Copyright (C) 1993 Free Software Foundation, Inc.
+
+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. */
+
+/* #defines that need visibility everywhere. */
+#define FALSE 0
+#define TRUE 1
+
+/* This describes the machine the compiler is hosted on. */
+#define HOST_BITS_PER_CHAR 8
+#define HOST_BITS_PER_SHORT 16
+#define HOST_BITS_PER_INT 32
+#define HOST_BITS_PER_LONG 32
+#define HOST_BITS_PER_LONGLONG 64
+
+/* Arguments to use with `exit'. */
+#define SUCCESS_EXIT_CODE 0
+#define FATAL_EXIT_CODE 33
+
+/* Lynx has no vfork system call. */
+#define vfork fork
+
+/* target machine dependencies.
+ tm.h is a symbolic link to the actual target specific file. */
+
+#include "tm.h"
+