irix6-5.h 1.4 KB
Newer Older
Karl Heuer's avatar
Karl Heuer committed
1 2 3 4
#define IRIX6
#define IRIX6_5
#include "irix5-0.h"

5
#if _MIPS_SZLONG == 64		/* -mabi=64 (gcc) or -64 (MIPSpro) */
Dave Love's avatar
Dave Love committed
6
#define _LP64			/* lisp.h takes care of the rest */
7
#endif /* _MIPS_SZLONG */
Karl Heuer's avatar
Karl Heuer committed
8 9 10 11 12 13 14 15 16 17 18 19 20

/* 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

/* The only supported configuration of GCC under IRIX6.x produces
   n32 MIPS ABI binaries and also supports -g. */
#ifdef __GNUC__
#undef C_DEBUG_SWITCH
#define C_DEBUG_SWITCH -g
21
#else
22 23 24 25 26 27
/* 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
28 29 30 31
#endif

#undef SA_RESTART

32
/* Cancel the #define that is in irix5-0.h.  */
Karl Heuer's avatar
Karl Heuer committed
33
#undef ospeed
34

35 36 37 38 39 40 41 42 43 44 45 46 47
/* If we keep the #defines from usg5-4.h, we lose when using the X
   headers because (at least) the bzero definition breaks their use of
   strings.h.  Including strings.h here gets us prototypes for them.
   (They're in libc though also they seem to be intrinsics in the SGI
   (Cray) compiler at least at version 7.3).  -- fx  */
#undef bcopy
#undef bcmp
#undef bzero
#ifndef NOT_C_CODE
#include <strings.h>
#endif

#undef TIOCSIGSEND		/* defined in usg5-4.h */