[PATCH] missing #ifndef inhibit_libc in gcc/config/rs6000/linux.h

Daniel Jacobowitz drow@mvista.com
Wed Oct 29 16:21:00 GMT 2003


On Tue, Oct 28, 2003 at 11:23:59PM -0800, Dan Kegel wrote:
> Daniel Jacobowitz wrote:
> >>>Sadly, in order to build a proper Linux toolchain, inhibit_libc
> >>>is absolutely required, even on Linux.  This is because you have
> >>>to first build a bootstrap compiler without glibc.
> >>
> >>This is a lie. 
> 
> ? The sequence required to build a Linux toolchain without
> the build system's headers and libraries leaking in is
>   glibc: make install-headers  (using native compiler)
>   gcc:   make all-gcc install-gcc   (with inhibit_libc defined, perhaps 
>   indirectly)

No.  That's not at all necessary; just --disable-shared.  I build gcc
with just headers and no inhibit_libc every day.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list