comparison src/m/mips4.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children 8eaf7971accc
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
17 /* Define MIPS2 if you have an R6000 or R4000. */ 17 /* Define MIPS2 if you have an R6000 or R4000. */
18 #define MIPS2 18 #define MIPS2
19 #endif 19 #endif
20 20
21 #ifdef __GNUC__ 21 #ifdef __GNUC__
22 #define C_DEBUG_SWITCH -g -O 22 #define C_DEBUG_SWITCH "-g -O"
23 #else 23 #else
24 /* We used to have -systype bsd43, but a configure change 24 /* We used to have -systype bsd43, but a configure change
25 now takes care of that option. */ 25 now takes care of that option. */
26 #ifdef MIPS2 26 #ifdef MIPS2
27 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2 27 #define C_DEBUG_SWITCH "-DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2"
28 #else 28 #else
29 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 29 #define C_DEBUG_SWITCH "-DMips -g3 -Wf,-XNd4000 -O -Olimit 2000"
30 #endif 30 #endif
31 #endif 31 #endif
32 32
33 #ifdef TERMINFO 33 #ifdef TERMINFO
34 #undef TERMINFO 34 #undef TERMINFO
35 #endif 35 #endif
36 36
37 #define START_FILES pre-crt0.o /lib/crt1.o 37 #define START_FILES "pre-crt0.o /lib/crt1.o"
38 /* Used to have -lisode, but jlp@math.byu.edu says remove it 38 /* Used to have -lisode, but jlp@math.byu.edu says remove it
39 (for RISCOS 4.52). */ 39 (for RISCOS 4.52). */
40 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype 40 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
41 and therefore we must search libc again after crtn.o. 41 and therefore we must search libc again after crtn.o.
42 The -L is used to force second -lc to find the sysv version 42 The -L is used to force second -lc to find the sysv version
43 of libc.a, which is needed because the BSD libc.a 43 of libc.a, which is needed because the BSD libc.a
44 doesn't have _ctype. */ 44 doesn't have _ctype. */
45 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc 45 #define LIB_STANDARD "-lmld -lc /lib/crtn.o -L/usr/lib -lc"
46 46
47 47
48 #define COFF 48 #define COFF
49 #undef LD_SWITCH_MACHINE 49 #undef LD_SWITCH_MACHINE
50 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000 50 #define LD_SWITCH_MACHINE "-systype bsd43 -g3 -D 800000"
51 51
52 #define NO_MODE_T 52 #define NO_MODE_T
53 53
54 /* These are needed on Riscos 4.0. 54 /* These are needed on Riscos 4.0.
55 It appears that's the only system which uses mips4.h and defined BSD. */ 55 It appears that's the only system which uses mips4.h and defined BSD. */