Commit | Line | Data |
---|---|---|
3423be79 GM |
1 | /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5. |
2 | ||
3 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | |
4 | 2007 Free Software Foundation, Inc. | |
5 | ||
6 | This file is part of GNU Emacs. | |
7 | ||
8 | GNU Emacs is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
4a9f99bd | 10 | the Free Software Foundation; either version 3, or (at your option) |
3423be79 GM |
11 | any later version. |
12 | ||
13 | GNU Emacs is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GNU Emacs; see the file COPYING. If not, write to | |
20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 | Boston, MA 02110-1301, USA. */ | |
22 | ||
23 | ||
7fa3ed62 | 24 | #define IRIX6_5 /* used in m/iris4d */ |
808903ab KH |
25 | #include "irix5-0.h" |
26 | ||
2b565005 | 27 | #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
c952a617 | 28 | #define _LP64 /* lisp.h takes care of the rest */ |
2b565005 | 29 | #endif /* _MIPS_SZLONG */ |
808903ab KH |
30 | |
31 | /* This macro definition, which we inherited from irix5-0.h, | |
32 | is needed in configure on Irix 5, but gets in the way there | |
33 | on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
34 | #ifndef THIS_IS_MAKEFILE | |
35 | #undef C_SWITCH_SYSTEM | |
36 | #endif | |
37 | ||
7fa3ed62 | 38 | /* The only supported 32-bit configuration of GCC under IRIX6.x produces |
808903ab KH |
39 | n32 MIPS ABI binaries and also supports -g. */ |
40 | #ifdef __GNUC__ | |
41 | #undef C_DEBUG_SWITCH | |
42 | #define C_DEBUG_SWITCH -g | |
ccecdd38 | 43 | #else |
f5e4afd3 DL |
44 | /* Optimize, inaccurate debugging, increase limit on size of what's |
45 | optimized. | |
46 | ||
47 | This should also be applicable other than on Irix 6.5, but I don't | |
48 | know for which compiler versions. -- fx */ | |
49 | #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 | |
808903ab KH |
50 | #endif |
51 | ||
52 | #undef SA_RESTART | |
53 | ||
2b565005 | 54 | /* Cancel the #define that is in irix5-0.h. */ |
808903ab | 55 | #undef ospeed |
2b565005 | 56 | |
e61a9a9b | 57 | #undef TIOCSIGSEND /* defined in usg5-4.h */ |
ab5796a9 | 58 | |
77c0df4f RS |
59 | /* Tested on Irix 6.5. SCM worked on earlier versions. */ |
60 | #define GC_SETJMP_WORKS 1 | |
61 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | |
62 | ||
ab5796a9 MB |
63 | /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 |
64 | (do not change this comment) */ |