*** empty log message ***
[bpt/emacs.git] / src / s / irix6-5.h
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, 2008 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
10 the Free Software Foundation; either version 3, or (at your option)
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
24 #define IRIX6_5 /* used in m/iris4d */
25 #include "irix5-0.h"
26
27 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */
28 #define _LP64 /* lisp.h takes care of the rest */
29 #endif /* _MIPS_SZLONG */
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
38 /* The only supported 32-bit configuration of GCC under IRIX6.x produces
39 n32 MIPS ABI binaries and also supports -g. */
40 #ifdef __GNUC__
41 #undef C_DEBUG_SWITCH
42 #define C_DEBUG_SWITCH -g
43 #else
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
50 #endif
51
52 #undef SA_RESTART
53
54 /* Cancel the #define that is in irix5-0.h. */
55 #undef ospeed
56
57 #undef TIOCSIGSEND /* defined in usg5-4.h */
58
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
63 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83
64 (do not change this comment) */