This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] missing #ifndef inhibit_libc in gcc/config/rs6000/linux.h
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Oct 2003 14:34:43 -0500 (EST)
- Subject: Re: [PATCH] missing #ifndef inhibit_libc in gcc/config/rs6000/linux.h
On Wed, 29 Oct 2003, Daniel Jacobowitz wrote:
> The trick that you may be missing, Dan, is that you need to have a
> _sufficiently recent_ compiler on the host; or else you need to patch
> glibc's configure script. You can't do it without any compiler because
> of some stupid autoconf CPP sanity check, and because it explicitly
> checks the versions, but a native gcc 3.3.1 works perfectly fine.
>
> I think you also need a recent compiler because of one of the -M
> options used in generating stdio_lim.h.dT.
OTOH, providing for builds with inhibit_libc removes this
restriction on the host compiler version.
brgds, H-P