OSDN Git Service

Add BSDI support.
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jul 1994 12:52:14 +0000 (12:52 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jul 1994 12:52:14 +0000 (12:52 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7794 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/bsd386.h [new file with mode: 0644]

diff --git a/gcc/config/i386/bsd386.h b/gcc/config/i386/bsd386.h
new file mode 100644 (file)
index 0000000..935a2e0
--- /dev/null
@@ -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