summaryrefslogtreecommitdiff
path: root/gcc/config/i386/netware.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/netware.h')
-rw-r--r--gcc/config/i386/netware.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h
new file mode 100644
index 00000000000..c8cc6487d07
--- /dev/null
+++ b/gcc/config/i386/netware.h
@@ -0,0 +1,38 @@
+/* Core target definitions for GNU compiler for Intel 80386 running Netware 4.
+ and using stabs-in-elf for the debugging format.
+ Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+
+ Written by David V. Henkel-Wallace (gumby@cygnus.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 "i386/sysv4.h" /* Build on the base i386 SVR4 configuration */
+#include "netware.h" /* Then add netware-specific goo. */
+
+#undef TARGET_VERSION
+#define TARGET_VERSION fprintf (stderr, " (i386 Netware 4)");
+
+/* These surely require augmentation */
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES \
+ "-DAPX386 -D__i386__ -D__netware__ -Asystem(netware) -Acpu(i386) -Amachine(i386)"
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "short unsigned int"
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 16