annotate src/s/irix6-5.h @ 45098:06120f91eb06

(eshell-modify-global-environment): Added this customization variable, which will cause any "export" commands within any eshell buffer to modify the global Emacs environment. It defaults to nil, which means that such commands will only modify that Eshell buffer's environment. (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
author John Wiegley <johnw@newartisans.com>
date Fri, 03 May 2002 20:43:53 +0000
parents 67fa8a547b3d
children 930c3f92138a 663e60c7887e
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
34612
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
35 /* If we keep the #defines from usg5-4.h, we lose when using the X
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
36 headers because (at least) the bzero definition breaks their use of
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
37 strings.h. Including strings.h here gets us prototypes for them.
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
38 (They're in libc though also they seem to be intrinsics in the SGI
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
39 (Cray) compiler at least at version 7.3). -- fx */
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
40 #undef bcopy
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
41 #undef bcmp
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
42 #undef bzero
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
43 #ifndef NOT_C_CODE
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
44 #include <strings.h>
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
45 #endif
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
46
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
47 #undef TIOCSIGSEND /* defined in usg5-4.h */