Subject: perror.o and __strerror
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Gary D. Duzan <gary@dragon.dsh.org>
List: current-users
Date: 01/31/1994 21:59:53
I don't know if this has been brought up, but when building
current from 0.9 using Mike Long's useful instructions, there is
a problem with building gcc2 and ld. When libc is built, __strerror
isn't included in strerror.o, which is needed for perror, which is
used by gcc2 and ld. By copying strerror.c to __strerror.c, removing
strerror(), and adding __strerror.c to the Makefile.inc, it built
without a hitch.
Oh yes, and make won't make from 0.9 without adding
-DMACHINE_ARCH=\"i386\" (or whatever) to CFLAGS in the Makefile.
Gary D. Duzan
Humble Practitioner of the Computer Arts
------------------------------------------------------------------------------