news-risc.h 2.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* news-risc.h is for the "RISC News".

   Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
                 2007  Free Software Foundation, Inc.

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
the Free Software Foundation; either version 1, or (at your option)
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.  */

Jim Blandy's avatar
Jim Blandy committed
23 24 25

#include "mips.h"

26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#ifdef NEWSOS5

/* NEWS-OS 5.0.2 */

#define LIBS_MACHINE -lmld

#ifdef __GNUC__
#define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000
#else
#define C_DEBUG_SWITCH -g3
#define C_OPTIMIZE_SWITCH -g3
#define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared
#endif

#else /* not NEWSOS5 */

42
/* The following line tells the configuration script what sort of
Jim Blandy's avatar
Jim Blandy committed
43 44 45 46 47
   operating system this machine is likely to run.
   USUAL-OPSYS="bsd4-3"  */

#define COFF
#undef LD_SWITCH_MACHINE
48 49 50
#ifdef __GNUC__
#define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000
#else
Jim Blandy's avatar
Jim Blandy committed
51
#define LD_SWITCH_MACHINE -x -D 800000
52
#endif
Jim Blandy's avatar
Jim Blandy committed
53 54 55 56

/* #define C_OPTIMIZE_SWITCH -O2 */
#define C_OPTIMIZE_SWITCH -O

57
#ifndef __GNUC__
Jim Blandy's avatar
Jim Blandy committed
58
#define C_DEBUG_SWITCH -g3
59
#endif
Jim Blandy's avatar
Jim Blandy committed
60 61

#undef TERMINFO
Richard M. Stallman's avatar
Richard M. Stallman committed
62 63 64 65

/* We have no mode_t.  */
#define NO_MODE_T

Jim Blandy's avatar
Typo.  
Jim Blandy committed
66
/* Don't use the definitions in m/mips.h.  */
Richard M. Stallman's avatar
Richard M. Stallman committed
67
#undef LINKER
68
#define LINKER $(CC) -nostdlib
Jim Blandy's avatar
Typo.  
Jim Blandy committed
69
#undef LIBS_MACHINE
70 71
#define LIBS_MACHINE -lmld

72 73 74
#undef KERNEL_FILE
#define KERNEL_FILE "/vmunix"

75 76 77 78 79
/* System's malloc, realloc, calloc and so on have bad prototypes,
   using char * instead of void *, so tell gmalloc not to use the
   prototypes.  */
#define BROKEN_PROTOTYPES

80
#endif /* not NEWSOS5 */
Miles Bader's avatar
Miles Bader committed
81 82 83

/* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662
   (do not change this comment) */