Subject: Re: different behaviour of system cc and TOOLDIR/cc
To: Jason Thorpe <email@example.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 06/11/2003 19:45:04
> GCC 3.3 will build its down CRT files if configured for "netbsd 1.7 or
> later", so if you configure it for "i386-unknown-netbsdelf1.7" or
> "i386-unknown-netbsdelf2.0", it will include its own CRT files.
Thanks - this works.
> You can test it by adding:
> TARGET_LIBGCC2_CFLAGS += -fPIC
> to gcc/config/t-netbsd
Just trying... but there is still the old -lgcc_pic rule in
config/netbsd.h's NETBSD_LIBGCC_SPEC, in the NETBSD_NATIVE
case. If just one libgcc.a is built, this would be wrong.