[PATCH] Re: Current egcs-mainline fails to build on FreeBSD 3.1

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Thu Jun 3 14:25:00 GMT 1999


On Thu, 3 Jun 1999, Marc Espie wrote:
> I don't know much about FreeBSD, but the following patch should be able
> to fix the trouble.  The SWITCH_TAKES_ARG is a no-brainer, and I've just
> copied the linux specs that used to be included `verbatim'.
> 
> Thu Jun  3 11:34:34 CEST 1999	Marc Espie <espie@cvs.openbsd.org>
> 	* freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
> 	(STARTFILE_SPEC):  Define, override the svr4.h version.
> 	(ENDFILE_SPEC):  Likewise.

Thanks, this indeed fixes the bootstrap failure on FreeBSD 3.1.

(What worries me, by the way, is that the original patch causing
this bootstrap failure apparently never was tested with a compiler
bootstrap. Unless it was misapplied, that is.)


In any case, thanks again Marc! Jeff, RTH,... is that patch okay?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-patches mailing list