annotate src/m/mips4.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 0132846995bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Synched up with: FSF 19.31. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 /* machine description file for Mips running RISCOS version 4. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 #include "mips.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 /* The following line tells the configuration script what sort of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 operating system this machine is likely to run.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 USUAL-OPSYS="note"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 NOTE-START
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 world.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 NOTE-END */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 #if 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 /* Define MIPS2 if you have an R6000 or R4000. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 #define MIPS2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 #ifdef __GNUC__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 #define C_DEBUG_SWITCH -g -O
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 /* We used to have -systype bsd43, but a configure change
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 now takes care of that option. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 #ifdef MIPS2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 #ifdef TERMINFO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 #undef TERMINFO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #define START_FILES pre-crt0.o /lib/crt1.o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 /* Used to have -lisode, but jlp@math.byu.edu says remove it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 (for RISCOS 4.52). */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 and therefore we must search libc again after crtn.o.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 The -L is used to force second -lc to find the sysv version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 of libc.a, which is needed because the BSD libc.a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 doesn't have _ctype. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 #define COFF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #undef LD_SWITCH_MACHINE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #define NO_MODE_T
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 /* These are needed on Riscos 4.0.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 It appears that's the only system which uses mips4.h and defined BSD. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 #ifdef BSD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 #undef HAVE_XRMSETDATABASE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 #undef HAVE_XSCREENRESOURCESTRING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 #endif