Mercurial > emacs
annotate src/s/irix6-0.h @ 82488:be74fd5b67d5
*** empty log message ***
author | Jeffrey C Honig <jch@bsdi.com> |
---|---|
date | Mon, 20 Aug 2007 16:30:53 +0000 |
parents | f06998349cfc |
children | 68df465b9550 f55f9811f5d7 |
rev | line source |
---|---|
75965
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.0. |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
2 |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
4 2007 Free Software Foundation, Inc. |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
5 |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
6 This file is part of GNU Emacs. |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
7 |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
8 GNU Emacs is free software; you can redistribute it and/or modify |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
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:
75965
diff
changeset
|
10 the Free Software Foundation; either version 3, or (at your option) |
75965
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
11 any later version. |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
12 |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
13 GNU Emacs is distributed in the hope that it will be useful, |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
16 GNU General Public License for more details. |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
17 |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
19 along with GNU Emacs; see the file COPYING. If not, write to |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
21 Boston, MA 02110-1301, USA. */ |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
22 |
746805373b79
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
23 |
10737 | 24 #include "irix5-0.h" |
25 | |
26 /* Irix 6 tries to do 64 bits, but doesn't do it fully, | |
27 so inhibit that. */ | |
28 #define IRIX_FORCE_32_BITS | |
12497
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
29 |
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
30 #ifndef __GNUC__ |
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
31 #define LD_SWITCH_SYSTEM -32 |
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
32 #endif |
13787
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
33 |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
34 /* This macro definition, which we inherited from irix5-0.h, |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
35 is needed in configure on Irix 5, but gets in the way there |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
36 on Irix 6. So get rid of it except in Makefile.in where we need it. */ |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
37 #ifndef THIS_IS_MAKEFILE |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
38 #undef C_SWITCH_SYSTEM |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
39 #endif |
15730 | 40 |
48082 | 41 /* The only supported 32-bit configuration of GCC under IRIX6.x produces |
15777
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
42 n32 MIPS ABI binaries and also supports -g. */ |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
43 #ifdef __GNUC__ |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
44 #undef C_DEBUG_SWITCH |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
45 #define C_DEBUG_SWITCH -g |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
46 #endif |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
47 |
15730 | 48 #undef SA_RESTART |
16377
907b62ddf042
(ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents:
15777
diff
changeset
|
49 |
18916 | 50 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
51 #if 0 | |
48082 | 52 /* Cancel the #define that is in irix5-0.h. */ |
16377
907b62ddf042
(ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents:
15777
diff
changeset
|
53 #undef ospeed |
18916 | 54 #endif |
23229 | 55 |
35151 | 56 #undef TIOCSIGSEND |
48558 | 57 |
58 /* Tested on Irix 6.5. SCM worked on earlier versions. */ | |
59 #define GC_SETJMP_WORKS 1 | |
60 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | |
52401 | 61 |
62 /* arch-tag: a775e465-a619-4655-a58f-5982aad0c624 | |
63 (do not change this comment) */ |