annotate src/s/irix6-5.h @ 78977:8424c80a4751

*** empty log message ***
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 05 Oct 2007 15:42:54 +0000
parents f06998349cfc
children 68df465b9550 f55f9811f5d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75964
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5.
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
2
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
4 2007 Free Software Foundation, Inc.
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
5
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
6 This file is part of GNU Emacs.
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
7
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
9 it under the terms of the GNU General Public License as published by
78259
f06998349cfc Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75964
diff changeset
10 the Free Software Foundation; either version 3, or (at your option)
75964
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
11 any later version.
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
12
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
16 GNU General Public License for more details.
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
17
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
18 You should have received a copy of the GNU General Public License
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
19 along with GNU Emacs; see the file COPYING. If not, write to
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
21 Boston, MA 02110-1301, USA. */
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
22
aeeef59c6f71 Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents: 68263
diff changeset
23
48081
930c3f92138a Don't include strings.h.
Dave Love <fx@gnu.org>
parents: 34612
diff changeset
24 #define IRIX6_5 /* used in m/iris4d */
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 #include "irix5-0.h"
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26
30505
a0367b506722 (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents: 27490
diff changeset
27 #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
28 #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
29 #endif /* _MIPS_SZLONG */
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31 /* This macro definition, which we inherited from irix5-0.h,
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32 is needed in configure on Irix 5, but gets in the way there
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 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
34 #ifndef THIS_IS_MAKEFILE
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35 #undef C_SWITCH_SYSTEM
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
37
48081
930c3f92138a Don't include strings.h.
Dave Love <fx@gnu.org>
parents: 34612
diff changeset
38 /* The only supported 32-bit configuration of GCC under IRIX6.x produces
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
39 n32 MIPS ABI binaries and also supports -g. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40 #ifdef __GNUC__
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
41 #undef C_DEBUG_SWITCH
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
42 #define C_DEBUG_SWITCH -g
25338
8a6fbe59406d (C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents: 23913
diff changeset
43 #else
27490
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
44 /* 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
45 optimized.
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
46
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
47 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
48 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
49 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
50 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
51
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
52 #undef SA_RESTART
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
53
30505
a0367b506722 (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents: 27490
diff changeset
54 /* Cancel the #define that is in irix5-0.h. */
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
55 #undef ospeed
30505
a0367b506722 (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents: 27490
diff changeset
56
34612
67fa8a547b3d #undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents: 31925
diff changeset
57 #undef TIOCSIGSEND /* defined in usg5-4.h */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48081
diff changeset
58
68263
06d1688690ad (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
59 /* Tested on Irix 6.5. SCM worked on earlier versions. */
06d1688690ad (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
60 #define GC_SETJMP_WORKS 1
06d1688690ad (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
61 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
06d1688690ad (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
62
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48081
diff changeset
63 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48081
diff changeset
64 (do not change this comment) */