Mercurial > emacs
annotate src/s/irix6-5.h @ 30288:8766468f819e
Add dependencies on dispextern.h.
(alloca.o): Don't define malloc and define EMACS_FREE instead of
`free'; both can conflict with system header files.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 18 Jul 2000 13:02:29 +0000 |
parents | 2567edc84238 |
children | a0367b506722 |
rev | line source |
---|---|
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 | |
25338
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
29 #else |
27490
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
30 /* 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
|
31 optimized. |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
32 |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
33 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
|
34 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
|
35 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 |
23913 | 36 #endif |
37 | |
38 #undef SA_RESTART | |
39 | |
40 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ | |
41 #if 0 | |
42 /* Canced the #define that is in irix5-0.h. */ | |
43 #undef ospeed | |
44 #endif |