From 808903abddbd96e802fb2f2a8d5dd95f27129f8a Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 16 Dec 1998 21:45:24 +0000 Subject: [PATCH] Initial revision --- src/s/irix6-5.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/s/irix6-5.h diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h new file mode 100644 index 00000000000..44bb18e3103 --- /dev/null +++ b/src/s/irix6-5.h @@ -0,0 +1,37 @@ +#define IRIX6 +#define IRIX6_5 +#include "irix5-0.h" + +/* Irix 6 tries to do 64 bits, but doesn't do it fully, + so inhibit that. */ +#define IRIX_FORCE_32_BITS + +#ifndef __GNUC__ +#ifndef IRIX6_5 +#define LD_SWITCH_SYSTEM -32 +#else +#define LD_SWITCH_SYSTEM -n32 +#endif +#endif + +/* This macro definition, which we inherited from irix5-0.h, + is needed in configure on Irix 5, but gets in the way there + on Irix 6. So get rid of it except in Makefile.in where we need it. */ +#ifndef THIS_IS_MAKEFILE +#undef C_SWITCH_SYSTEM +#endif + +/* The only supported configuration of GCC under IRIX6.x produces + n32 MIPS ABI binaries and also supports -g. */ +#ifdef __GNUC__ +#undef C_DEBUG_SWITCH +#define C_DEBUG_SWITCH -g +#endif + +#undef SA_RESTART + +/* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ +#if 0 +/* Canced the #define that is in irix5-0.h. */ +#undef ospeed +#endif -- 2.39.2