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: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 04 Jun 1999 18:49:19 -0300
- Cc: pfeifer at dbai dot tuwien dot ac dot at, obrien at FreeBSD dot org, egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- References: <199906030938.LAA05288@quatramaran.ens.fr>
On Jun 3, 1999, Marc Espie <espie@quatramaran.ens.fr> wrote:
> The SWITCH_TAKES_ARG is a no-brainer, and I've just copied the linux
> specs that used to be included `verbatim'.
> --- freebsd-elf.h.orig Thu Jun 3 11:26:09 1999
> +++ freebsd-elf.h Thu Jun 3 11:30:22 1999
> +#undef STARTFILE_SPEC
> +#define STARTFILE_SPEC \
> + "%{!shared: \
> + %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
> + %{!p:%{profile:gcrt1.o%s} \
> + %{!profile:crt1.o%s}}}} \
> + crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
> #undef LIB_SPEC
> #if 1
BTW, does it make any sense to link with -lgmon on FreeBSD 3.*? A
friend of mine has just complained that egcs 1.1.2 won't link when
given -pg, because -lgmon does not exist, and I couldn't help him
because I'm no profiling expert, and no FreeBSD expert at all :-)
Any ideas?
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists