From 843873e99fb8814596a19878819cd20de0a09f15 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 14 Sep 1993 19:47:43 +0000 Subject: [PATCH] (LIB_STANDARD): Add a second -lc after crtn.o. --- src/m/mips4.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/m/mips4.h b/src/m/mips4.h index f0cfd43611..cb9753552a 100644 --- a/src/m/mips4.h +++ b/src/m/mips4.h @@ -33,7 +33,12 @@ NOTE-END */ #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 -- 2.39.2