# HG changeset patch # User Richard M. Stallman # Date 762032850 0 # Node ID c199a7ed9be2c8ea0719775b2ae6a0b54a0e65c5 # Parent ba4e01f3dcd1e3e6ab9250ebf2704c4ad9a9e03c [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH) (LD_SWITCH_MACHINE): Definitions moved here. diff -r ba4e01f3dcd1 -r c199a7ed9be2 src/m/news-risc.h --- a/src/m/news-risc.h Wed Feb 23 19:47:11 1994 +0000 +++ b/src/m/news-risc.h Wed Feb 23 19:47:30 1994 +0000 @@ -2,12 +2,28 @@ #include "mips.h" +#ifdef NEWSOS5 + +/* NEWS-OS 5.0.2 */ + +#define LIBS_MACHINE -lmld + +#ifdef __GNUC__ +#define C_DEBUG_SWITCH -g +#define C_OPTIMIZE_SWITCH -g -O +#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 */ + /* The following line tells the configuration script what sort of operating system this machine is likely to run. USUAL-OPSYS="bsd4-3" */ -#define LIBS_MACHINE -lmld - #define COFF #undef LD_SWITCH_MACHINE #define LD_SWITCH_MACHINE -x -D 800000 @@ -25,3 +41,6 @@ /* Don't use the definitions in m/mips.h. */ #undef LINKER #undef LIBS_MACHINE +#define LIBS_MACHINE -lmld + +#endif /* not NEWSOS5 */