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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 #define IRIX6
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2 #define IRIX6_5
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #include "irix5-0.h"
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
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
b52aacb6e2c4 Now works 64-bit. Tidied.
Dave Love <fx@gnu.org>
parents: 30505
diff changeset
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
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9 /* This macro definition, which we inherited from irix5-0.h,
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 is needed in configure on Irix 5, but gets in the way there
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 on Irix 6. So get rid of it except in Makefile.in where we need it. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 #ifndef THIS_IS_MAKEFILE
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 #undef C_SWITCH_SYSTEM
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 /* The only supported configuration of GCC under IRIX6.x produces
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 n32 MIPS ABI binaries and also supports -g. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 #ifdef __GNUC__
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19 #undef C_DEBUG_SWITCH
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
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
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30 #undef SA_RESTART
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
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
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 #undef ospeed
30505
a0367b506722 (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents: 27490
diff changeset
34