diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-23 06:44:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-23 06:44:41 +0000 |
commit | ed2a572bfc2352433847f82bee9f3d73f4cdd771 (patch) | |
tree | bcf5ab5f943c135a0b5441f58aa5086668eb9211 /gnu/usr.bin/gcc/config/vax | |
parent | 383723742c7c0db962ff099594744e1cf6ed8932 (diff) |
add configurations for all the other platforms
Diffstat (limited to 'gnu/usr.bin/gcc/config/vax')
-rw-r--r-- | gnu/usr.bin/gcc/config/vax/openbsd.h | 22 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/config/vax/xm-openbsd.h | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/vax/openbsd.h b/gnu/usr.bin/gcc/config/vax/openbsd.h new file mode 100644 index 00000000000..205dce616a0 --- /dev/null +++ b/gnu/usr.bin/gcc/config/vax/openbsd.h @@ -0,0 +1,22 @@ +#include <vax/vax.h> +#include <openbsd.h> + +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "-Dunix -Dvax -D__OpenBSD__ -D__NetBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(vax) -Amachine(vax)" + +/* Make gcc agree with <machine/ansi.h> */ + +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" + +#undef WCHAR_TYPE +#define WCHAR_TYPE "int" + +#undef WCHAR_UNSIGNED +#define WCHAR_UNSIGNED 0 + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE 32 diff --git a/gnu/usr.bin/gcc/config/vax/xm-openbsd.h b/gnu/usr.bin/gcc/config/vax/xm-openbsd.h new file mode 100644 index 00000000000..3ba8f9f6f00 --- /dev/null +++ b/gnu/usr.bin/gcc/config/vax/xm-openbsd.h @@ -0,0 +1,2 @@ +#include <vax/xm-vax.h> +#include <xm-openbsd.h> |