1/* machine description file for Mips running RISCOS version 4. 2 3 Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 4 2007 Free Software Foundation, Inc. 5 6This file is part of GNU Emacs. 7 8GNU Emacs is free software; you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 10the Free Software Foundation; either version 2, or (at your option) 11any later version. 12 13GNU Emacs is distributed in the hope that it will be useful, 14but WITHOUT ANY WARRANTY; without even the implied warranty of 15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16GNU General Public License for more details. 17 18You should have received a copy of the GNU General Public License 19along with GNU Emacs; see the file COPYING. If not, write to 20the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21Boston, MA 02110-1301, USA. */ 22 23 24#include "mips.h" 25 26/* The following line tells the configuration script what sort of 27 operating system this machine is likely to run. 28 USUAL-OPSYS="note" 29 30NOTE-START 31Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD 32world. 33NOTE-END */ 34 35#if 0 36/* Define MIPS2 if you have an R6000 or R4000. */ 37#define MIPS2 38#endif 39 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 51 52#ifdef TERMINFO 53#undef TERMINFO 54#endif 55 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 65 66 67#define COFF 68#undef LD_SWITCH_MACHINE 69#define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000 70 71#define NO_MODE_T 72 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 81 82/* arch-tag: 56050454-0df5-4de9-b1b7-0c6ab400313c 83 (do not change this comment) */ 84