summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-07-23 18:30:23 +0000
committerRichard M. Stallman <rms@gnu.org>1996-07-23 18:30:23 +0000
commit42f3037714fd1357a30a7ecf28aca90b0aedb6ef (patch)
tree3ca85b60a8022627da0f86b4ee76b8dc0d34191e
parent70611080d211dbda1e222f3df3f45bd4ad4990e3 (diff)
downloademacs-42f3037714fd1357a30a7ecf28aca90b0aedb6ef.tar.gz
(LIBS_MACHINE) [__GNUC__ and ABIN32]: Define as empty.
-rw-r--r--src/m/iris4d.h4
-rw-r--r--src/m/iris5d.h7
-rw-r--r--src/m/mips.h5
3 files changed, 15 insertions, 1 deletions
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index 66e55eee071..129206d0e80 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -131,7 +131,11 @@ Boston, MA 02111-1307, USA. */
#undef LIBS_MACHINE
/* -lsun in case using Yellow Pages for passwords. */
+#if defined(__GNUC__) && defined(_ABIN32)
+#define LIBS_MACHINE
+#else
#define LIBS_MACHINE -lmld
+#endif
#define LIBS_DEBUG
/* Define this if you have a fairly recent system,
diff --git a/src/m/iris5d.h b/src/m/iris5d.h
index 7f9b8224cd8..9614d53bd5d 100644
--- a/src/m/iris5d.h
+++ b/src/m/iris5d.h
@@ -1,4 +1,4 @@
-/* machine description file for Iris-4D machines. Use with s-iris3-6.h
+/* machine description file for Iris-5D machines. Use with s-iris3-6.h
Copyright (C) 1987 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -130,7 +130,12 @@ Boston, MA 02111-1307, USA. */
#undef LIBS_MACHINE
/* -lsun in case using Yellow Pages for passwords. */
+#if defined(__GNUC__) && defined(_ABIN32)
+#define LIBS_MACHINE -lsun
+#else
#define LIBS_MACHINE -lsun -lmld
+#endif
+
#define LIBS_DEBUG
/* Define this if you have a fairly recent system,
diff --git a/src/m/mips.h b/src/m/mips.h
index bd7ff74f634..8c25c8733a3 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -142,7 +142,12 @@ NOTE-END */
#else /* not BSD */
+#if defined(__GNUC__) && defined(_ABIN32)
+#define LIBS_MACHINE
+#else
#define LIBS_MACHINE -lmld
+#endif
+
#define LD_SWITCH_MACHINE -D 800000 -g3
#define START_FILES pre-crt0.o /usr/lib/crt1.o
#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o