diff options
author | YamaArashi <shadow962@live.com> | 2016-01-06 01:47:28 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-06 01:47:28 -0800 |
commit | be8b04496302184c6e8f04d6179f9c3afc50aeb6 (patch) | |
tree | 726e2468c0c07add773c0dbd86ab6386844259ae /gcc/config/vax/netbsd.h |
initial commit
Diffstat (limited to 'gcc/config/vax/netbsd.h')
-rwxr-xr-x | gcc/config/vax/netbsd.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/vax/netbsd.h b/gcc/config/vax/netbsd.h new file mode 100755 index 0000000..23f3ff5 --- /dev/null +++ b/gcc/config/vax/netbsd.h @@ -0,0 +1,24 @@ +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "-Dunix -Dvax -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -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 + +/* Until they use ELF or something that handles dwarf2 unwinds + and initialization stuff better. */ +#undef DWARF2_UNWIND_INFO + |