|
#define IRIX6 |
|
1 |
#include "irix5-0.h" |
#include "irix5-0.h" |
2 |
|
|
3 |
/* Irix 6 tries to do 64 bits, but doesn't do it fully, |
/* Irix 6 tries to do 64 bits, but doesn't do it fully, |
15 |
#undef C_SWITCH_SYSTEM |
#undef C_SWITCH_SYSTEM |
16 |
#endif |
#endif |
17 |
|
|
18 |
/* The only supported configuration of GCC under IRIX6.x produces |
/* The only supported 32-bit configuration of GCC under IRIX6.x produces |
19 |
n32 MIPS ABI binaries and also supports -g. */ |
n32 MIPS ABI binaries and also supports -g. */ |
20 |
#ifdef __GNUC__ |
#ifdef __GNUC__ |
21 |
#undef C_DEBUG_SWITCH |
#undef C_DEBUG_SWITCH |
26 |
|
|
27 |
/* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
/* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
28 |
#if 0 |
#if 0 |
29 |
/* Canced the #define that is in irix5-0.h. */ |
/* Cancel the #define that is in irix5-0.h. */ |
30 |
#undef ospeed |
#undef ospeed |
31 |
#endif |
#endif |
32 |
|
|
|
/* Cancel some #define's in usg5-4.h. |
|
|
Larry Hunter <hunter@nlm.nih.gov> said this was needed |
|
|
for Irix 6.5. Let's see if it is safe in 6.N, N<5, as well. */ |
|
|
/* Extrapolating from Irix 6.5, the problem is that (at least) the |
|
|
bzero definition breaks what the X headers do. The following means |
|
|
that we lack prototypes for these functions, and we presumably lose |
|
|
at least in the 64-bit ABI (though that's only supported on Irix |
|
|
6.5, which I can test). We may be saved by the fact that these |
|
|
appear to be intrinsics in the SGI (Cray) compiler. It's probably |
|
|
appropriate to include strings.h here, but I can't test it. See |
|
|
irix6-5.h. -- fx */ |
|
|
#undef bcopy |
|
|
#undef bcmp |
|
|
#undef bzero |
|
|
|
|
33 |
#undef TIOCSIGSEND |
#undef TIOCSIGSEND |
34 |
|
|
35 |
|
/* Tested on Irix 6.5. SCM worked on earlier versions. */ |
36 |
|
#define GC_SETJMP_WORKS 1 |
37 |
|
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |