Mercurial > emacs
annotate src/s/irix6-5.h @ 31925:b52aacb6e2c4
Now works 64-bit. Tidied.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 27 Sep 2000 09:32:32 +0000 |
parents | a0367b506722 |
children | 67fa8a547b3d |
rev | line source |
---|---|
23913 | 1 #define IRIX6 |
2 #define IRIX6_5 | |
3 #include "irix5-0.h" | |
4 | |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
5 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
31925 | 6 #define _LP64 /* lisp.h takes care of the rest */ |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
7 #endif /* _MIPS_SZLONG */ |
23913 | 8 |
9 /* This macro definition, which we inherited from irix5-0.h, | |
10 is needed in configure on Irix 5, but gets in the way there | |
11 on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
12 #ifndef THIS_IS_MAKEFILE | |
13 #undef C_SWITCH_SYSTEM | |
14 #endif | |
15 | |
16 /* The only supported configuration of GCC under IRIX6.x produces | |
17 n32 MIPS ABI binaries and also supports -g. */ | |
18 #ifdef __GNUC__ | |
19 #undef C_DEBUG_SWITCH | |
20 #define C_DEBUG_SWITCH -g | |
25338
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
21 #else |
27490
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
22 /* Optimize, inaccurate debugging, increase limit on size of what's |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
23 optimized. |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
24 |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
25 This should also be applicable other than on Irix 6.5, but I don't |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
26 know for which compiler versions. -- fx */ |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
27 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 |
23913 | 28 #endif |
29 | |
30 #undef SA_RESTART | |
31 | |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
32 /* Cancel the #define that is in irix5-0.h. */ |
23913 | 33 #undef ospeed |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
34 |