This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Dinhibit_libc
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: -Dinhibit_libc
- From: "H . J . Lu" <hjl at gnu dot org>
- Date: Thu, 8 Mar 2001 14:50:41 -0800
- Cc: Andrew Haley <aph at redhat dot com>, gcc at gcc dot gnu dot org
- References: <15014.28840.359194.506099.cygnus.gcc@viagra.cambridge.redhat.com> <jmae6xwd51.fsf@geoffk.org>
On Wed, Mar 07, 2001 at 12:13:46PM -0800, Geoff Keating wrote:
>
> Don't do it that way. Start with a temporary set of headers. It
> turns out that you can start with a set of _empty_ headers and
> everything will still build OK, which probably represents a bug
> somewhere---there are lots of bugs in this area because no-one has
> really looked at it.
I usually pick a working set of glibc headers for a different arch.
I used it to compile gcc for my new target and then use the new cross
gcc to compile glibc for the new target. After that, I will get a set
of glibc headers for my new target. To be safe, I will use the new
correct glibc headers to recompile libgcc.
H.J.