This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Franz Sirl wrote:
On Tuesday 28 October 2003 17:05, Gernot Hillier wrote:


gcc/config/rs6000/linux.h misses support for the libchack thus making it
impossible (or at least not nice) to bootstrap a cross compiler.

This also solves

Ok for mainline? TIA!

2003-10-28  Gernot Hillier  <>
	* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't
	define this at all when -Dinhibit_libc is used.

Hmm, in my eyes this patch just makes it easier to build broken cross compilers and we shouldn't do that. There are proper linux cross build instructions on the web, eg., that don't use and need inhibit_libc IIRC.

inhibit_libc isn't a hack per se; it's an internal part of the implementation of --without-headers and --with-newlib. Perhaps the proposed patch solves a problem even for users who are simply setting --without-headers and/or --with-newlib?

See if you're interested
in why some users feel they have to set -Dinhibit_libc
(gcc's configure used to be broken, and didn't always set it when it should).
- Dan

Dan Kegel

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]