Load ediff-*.el files silently.
[emacs.git] / src / m / mips4.h
bloba55e4c5e31361f91e8f477639070c2b4a232cf16
1 /* machine description file for Mips running RISCOS version 4.
3 Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
4 2007 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
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.
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.
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. */
24 #include "mips.h"
26 /* The following line tells the configuration script what sort of
27 operating system this machine is likely to run.
28 USUAL-OPSYS="note"
30 NOTE-START
31 Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
32 world.
33 NOTE-END */
35 #if 0
36 /* Define MIPS2 if you have an R6000 or R4000. */
37 #define MIPS2
38 #endif
40 #ifdef __GNUC__
41 #define C_DEBUG_SWITCH -g -O
42 #else
43 /* We used to have -systype bsd43, but a configure change
44 now takes care of that option. */
45 #ifdef MIPS2
46 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2
47 #else
48 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000
49 #endif
50 #endif
52 #ifdef TERMINFO
53 #undef TERMINFO
54 #endif
56 #define START_FILES pre-crt0.o /lib/crt1.o
57 /* Used to have -lisode, but jlp@math.byu.edu says remove it
58 (for RISCOS 4.52). */
59 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
60 and therefore we must search libc again after crtn.o.
61 The -L is used to force second -lc to find the sysv version
62 of libc.a, which is needed because the BSD libc.a
63 doesn't have _ctype. */
64 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
67 #define COFF
68 #undef LD_SWITCH_MACHINE
69 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000
71 #define NO_MODE_T
73 /* These are needed on Riscos 4.0.
74 It appears that's the only system which uses mips4.h and defines BSD. */
75 #ifdef BSD_SYSTEM
76 #undef HAVE_STRERROR
77 #undef HAVE_XRMSETDATABASE
78 #undef HAVE_XSCREENRESOURCESTRING
79 #undef HAVE_SETSID
80 #endif
82 /* arch-tag: 56050454-0df5-4de9-b1b7-0c6ab400313c
83 (do not change this comment) */