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>, pfeifer at dbai dot tuwien dot ac dot at, egcs-bugs at egcs dot cygnus dot com
- Subject: Re: [PATCH] Re: Current egcs-mainline fails to build on FreeBSD 3.1
- From: "David O'Brien" <obrien at NUXI dot com>
- Date: Tue, 15 Jun 1999 00:15:49 -0700
- Cc: egcs-patches at egcs dot cygnus dot com
- Organization: The NUXI BSD group
- References: <Pine.GSO.4.10.9906022147240.17033-100000@markab.dbai.tuwien.ac.at> <199906030938.LAA05288@quatramaran.ens.fr>
- Reply-To: obrien at NUXI dot com
> 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'.
The problem is there is too much linux.h already in freebsd-elf.h.
I've tested all my patches with egcs-core-*-.tar.gz. I'll have to check
where I goofed. Possibly I blew it with what patches I sent in. I'm
juggling several. I am assuming that it fixing the problems in
freebsd-elf.h is suffiently tested by the core functionality. Of course
this might not be the case.
> +/* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add
..snip..
> + %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
WRONG. FreeBSD has no gcrt*.o files. If I made a mistake, fine. Email
me and chastise my goof. But please do not introduce more bogons that
now have to be removed. Fixing freebsd-elf.h has become a very slow
process already.
--
-- David (obrien@NUXI.com -or- obrien@FreeBSD.org)