summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/lynx.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-21 21:22:31 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-21 21:22:31 +0000
commite4e135320bc9c40dca5c958dd7617c1f1933052c (patch)
tree096b5a8a2a8ae8d6c49ecdad231ad6203ea391ad /gcc/config/sparc/lynx.h
parent3ad13e643ed05bb2e64434c564cee4c3492c8554 (diff)
downloadgcc-e4e135320bc9c40dca5c958dd7617c1f1933052c.tar.gz
New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4957 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/lynx.h')
-rw-r--r--gcc/config/sparc/lynx.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/config/sparc/lynx.h b/gcc/config/sparc/lynx.h
new file mode 100644
index 00000000000..e9020a030ed
--- /dev/null
+++ b/gcc/config/sparc/lynx.h
@@ -0,0 +1,30 @@
+/* Definitions for SPARC running LynxOS.
+ 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. */
+
+#include "sparc/sparc.h"
+#include "lynx.h"
+
+/* ??? Must redefine to get sparclite and v8 defines. Can this be done
+ differently? */
+#undef CPP_SPEC
+#define CPP_SPEC "%{mthreads:-D_MULTITHREADED} %{msparclite:-D__sparclite__} %{mv8:-D__sparc_v8__} %{mposix:-D_POSIX_SOURCE} %{msystem-v:-lynx-sysv}"
+
+/* Names to predefine in the preprocessor for this target machine. */
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dunix -Dsparc -DLynx -DIBITS32"