From: Richard M. Stallman Date: Tue, 14 Sep 1993 19:47:43 +0000 (+0000) Subject: (LIB_STANDARD): Add a second -lc after crtn.o. X-Git-Tag: emacs-19.34~11129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=843873e99fb8814596a19878819cd20de0a09f15;p=emacs.git (LIB_STANDARD): Add a second -lc after crtn.o. --- diff --git a/src/m/mips4.h b/src/m/mips4.h index f0cfd436111..cb9753552ad 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