changeset 6045:c199a7ed9be2

[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH) (LD_SWITCH_MACHINE): Definitions moved here.
author Richard M. Stallman <rms@gnu.org>
date Wed, 23 Feb 1994 19:47:30 +0000
parents ba4e01f3dcd1
children 44935e53cede
files src/m/news-risc.h
diffstat 1 files changed, 21 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */