changeset 4722:1b0ce8ac1c81

(LIB_STANDARD): Add a second -lc after crtn.o.
author Richard M. Stallman <rms@gnu.org>
date Tue, 14 Sep 1993 19:47:43 +0000
parents d34c02ddea9f
children 6a3f5f51897b
files src/m/mips4.h
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/mips4.h	Tue Sep 14 18:20:59 1993 +0000
+++ b/src/m/mips4.h	Tue Sep 14 19:47:43 1993 +0000
@@ -33,7 +33,12 @@
 #define START_FILES pre-crt0.o /lib/crt1.o
 /* Used to have -lisode, but jlp@math.byu.edu says remove it
    (for RISCOS 4.52).  */
-#define LIB_STANDARD -lmld -lc /lib/crtn.o
+/* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
+   and therefore we must search libc again after crtn.o.
+   The -L is used to force second -lc to find the sysv version
+   of libc.a, which is needed because the BSD libc.a
+   doesn't have _ctype.  */
+#define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
 
 
 #define COFF