aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1994-07-25 12:52:14 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1994-07-25 12:52:14 +0000
commit16eb71695f8072120d9e33687d46bc5869553346 (patch)
treeaa064e15c59c6af793f0829315a756162c46279c /gcc
parenteee22a562e91b40359bb79eebae2da150aad3702 (diff)
downloadgcc-16eb71695f8072120d9e33687d46bc5869553346.zip
gcc-16eb71695f8072120d9e33687d46bc5869553346.tar.gz
gcc-16eb71695f8072120d9e33687d46bc5869553346.tar.bz2
Add BSDI support.
From-SVN: r7794
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/bsd386.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/i386/bsd386.h b/gcc/config/i386/bsd386.h
new file mode 100644
index 0000000..935a2e0
--- /dev/null
+++ b/gcc/config/i386/bsd386.h
@@ -0,0 +1,18 @@
+/* Configuration for an i386 running BSDI's BSD/386 1.1 as the target
+ machine. */
+
+#include "i386/386bsd.h"
+
+/* We exist mostly to add -Dbsdi and such to the predefines. */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dunix -Di386 -Dbsdi -D__i386__ -D__bsdi__ -D____386BSD____ -D__386BSD__ -DBSD_NET2 -Asystem(unix) -Asystem(bsd) -Acpu(i386) -Amachine(i386)"
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "int"
+
+#undef WCHAR_UNSIGNED
+#define WCHAR_UNSIGNED 0
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 32