This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re: Current egcs-mainline fails to build on FreeBSD 3.1
- To: Marc Espie <espie at quatramaran dot ens dot fr>
- Subject: Re: [PATCH] Re: Current egcs-mainline fails to build on FreeBSD 3.1
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Thu, 3 Jun 1999 23:24:50 +0200 (MET DST)
- cc: obrien at freebsd dot org, egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
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/