Mercurial > emacs
annotate src/s/irix6-5.h @ 31201:86d1a169a3cc
Fix a typo in a comment.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 27 Aug 2000 10:10:14 +0000 |
parents | a0367b506722 |
children | b52aacb6e2c4 |
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) */ |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
6 #error "The 64 bit ABI doesn't work yet. Please fix it and send the changes!" |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
7 #define _LP64 |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
8 #define EMACS_INT long |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
9 #define BITS_PER_LONG 64 |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
10 #define BITS_PER_EMACS_INT BITS_PER_LONG |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
11 #define EMACS_UINT unsigned long |
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
12 #endif /* _MIPS_SZLONG */ |
23913 | 13 |
14 /* This macro definition, which we inherited from irix5-0.h, | |
15 is needed in configure on Irix 5, but gets in the way there | |
16 on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
17 #ifndef THIS_IS_MAKEFILE | |
18 #undef C_SWITCH_SYSTEM | |
19 #endif | |
20 | |
21 /* The only supported configuration of GCC under IRIX6.x produces | |
22 n32 MIPS ABI binaries and also supports -g. */ | |
23 #ifdef __GNUC__ | |
24 #undef C_DEBUG_SWITCH | |
25 #define C_DEBUG_SWITCH -g | |
25338
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
26 #else |
27490
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
27 /* 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
|
28 optimized. |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
29 |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
30 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
|
31 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
|
32 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 |
23913 | 33 #endif |
34 | |
35 #undef SA_RESTART | |
36 | |
37 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ | |
38 #if 0 | |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
39 /* Cancel the #define that is in irix5-0.h. */ |
23913 | 40 #undef ospeed |
41 #endif | |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
42 |