Subject: RE: perror.o and __strerror
To: None <,>
From: Marc Wandschneider <>
List: current-users
Date: 02/01/1994 07:05:00
| From: "Gary D. Duzan"  <netmail!>
|    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, it built
| without a hitch.

	you have to remove the old source tree before make'ing the new
	one.  a bunch of files have moved, inclucing strerror.c

|    Oh yes, and make won't make from 0.9 without adding
| -DMACHINE_ARCH=\"i386\" (or whatever) to CFLAGS in the Makefile.

	most instructions i have seen suggest that you setenv MACHINE_ARCH
	before doing the build---it's a bootstrapping problem.

							marc 'em.