23913
|
1 #define IRIX6
|
|
2 #define IRIX6_5
|
|
3 #include "irix5-0.h"
|
|
4
|
|
5 /* Irix 6 tries to do 64 bits, but doesn't do it fully,
|
|
6 so inhibit that. */
|
|
7 #define IRIX_FORCE_32_BITS
|
|
8
|
|
9 #ifndef __GNUC__
|
|
10 #ifndef IRIX6_5
|
|
11 #define LD_SWITCH_SYSTEM -32
|
|
12 #else
|
|
13 #define LD_SWITCH_SYSTEM -n32
|
|
14 #endif
|
|
15 #endif
|
|
16
|
|
17 /* This macro definition, which we inherited from irix5-0.h,
|
|
18 is needed in configure on Irix 5, but gets in the way there
|
|
19 on Irix 6. So get rid of it except in Makefile.in where we need it. */
|
|
20 #ifndef THIS_IS_MAKEFILE
|
|
21 #undef C_SWITCH_SYSTEM
|
|
22 #endif
|
|
23
|
|
24 /* The only supported configuration of GCC under IRIX6.x produces
|
|
25 n32 MIPS ABI binaries and also supports -g. */
|
|
26 #ifdef __GNUC__
|
|
27 #undef C_DEBUG_SWITCH
|
|
28 #define C_DEBUG_SWITCH -g
|
|
29 #endif
|
|
30
|
|
31 #undef SA_RESTART
|
|
32
|
|
33 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */
|
|
34 #if 0
|
|
35 /* Canced the #define that is in irix5-0.h. */
|
|
36 #undef ospeed
|
|
37 #endif
|