From: Gerd Moellmann Date: Mon, 17 Jan 2000 09:50:09 +0000 (+0000) Subject: (LD_SWITCH_MACHINE): Define differently for GCC. X-Git-Tag: emacs-pretest-21.0.90~5333 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49ff69c0350246e0f9e962be7233f07bb53d32ec;p=emacs.git (LD_SWITCH_MACHINE): Define differently for GCC. --- diff --git a/src/m/news-risc.h b/src/m/news-risc.h index 268d1796ddf..d6e2c60dd28 100644 --- a/src/m/news-risc.h +++ b/src/m/news-risc.h @@ -26,7 +26,11 @@ #define COFF #undef LD_SWITCH_MACHINE +#ifdef __GNUC__ +#define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000 +#else #define LD_SWITCH_MACHINE -x -D 800000 +#endif /* #define C_OPTIMIZE_SWITCH -O2 */ #define C_OPTIMIZE_SWITCH -O @@ -42,6 +46,7 @@ /* Don't use the definitions in m/mips.h. */ #undef LINKER +#define LINKER $(CC) -nostdlib #undef LIBS_MACHINE #define LIBS_MACHINE -lmld