irix6-5.h 2.11 KB
Newer Older
1 2 3
/* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5.

Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
Glenn Morris's avatar
Glenn Morris committed
4
  2007, 2008  Free Software Foundation, Inc.
5 6 7 8 9

This file is part of GNU Emacs.

GNU Emacs is free software; you can redistribute it and/or modify
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 12 13 14 15 16 17 18 19 20 21 22 23
any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.  */


Dave Love's avatar
Dave Love committed
24
#define IRIX6_5			/* used in m/iris4d */
Karl Heuer's avatar
Karl Heuer committed
25 26
#include "irix5-0.h"

27
#if _MIPS_SZLONG == 64		/* -mabi=64 (gcc) or -64 (MIPSpro) */
Dave Love's avatar
Dave Love committed
28
#define _LP64			/* lisp.h takes care of the rest */
29
#endif /* _MIPS_SZLONG */
Karl Heuer's avatar
Karl Heuer committed
30 31 32 33 34 35 36 37

/* This macro definition, which we inherited from irix5-0.h,
   is needed in configure on Irix 5, but gets in the way there
   on Irix 6.  So get rid of it except in Makefile.in where we need it.  */
#ifndef THIS_IS_MAKEFILE
#undef C_SWITCH_SYSTEM
#endif

Dave Love's avatar
Dave Love committed
38
/* The only supported 32-bit configuration of GCC under IRIX6.x produces
Karl Heuer's avatar
Karl Heuer committed
39 40 41 42
   n32 MIPS ABI binaries and also supports -g. */
#ifdef __GNUC__
#undef C_DEBUG_SWITCH
#define C_DEBUG_SWITCH -g
43
#else
44 45 46 47 48 49
/* Optimize, inaccurate debugging, increase limit on size of what's
   optimized.

   This should also be applicable other than on Irix 6.5, but I don't
   know for which compiler versions.  -- fx */
#define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500
Karl Heuer's avatar
Karl Heuer committed
50 51 52 53
#endif

#undef SA_RESTART

54
/* Cancel the #define that is in irix5-0.h.  */
Karl Heuer's avatar
Karl Heuer committed
55
#undef ospeed
56

57
#undef TIOCSIGSEND		/* defined in usg5-4.h */
Miles Bader's avatar
Miles Bader committed
58

59 60 61 62
/* Tested on Irix 6.5.  SCM worked on earlier versions.  */
#define GC_SETJMP_WORKS 1
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS

Miles Bader's avatar
Miles Bader committed
63 64
/* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83
   (do not change this comment) */