summaryrefslogtreecommitdiff
path: root/gcc/config/i386/bsd386.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-25 12:52:14 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-25 12:52:14 +0000
commit08ec2f912740e6143f7a4b10433c7a138d1eaf51 (patch)
treeaa064e15c59c6af793f0829315a756162c46279c /gcc/config/i386/bsd386.h
parent6010db6fd9969a7961912f953739661c5a8a1391 (diff)
downloadgcc-08ec2f912740e6143f7a4b10433c7a138d1eaf51.tar.gz
Add BSDI support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7794 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/bsd386.h')
-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 00000000000..935a2e06404
--- /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