This is the mail archive of the gcc-patches@gcc.gnu.org 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


On Wed, Oct 29, 2003 at 02:34:43PM -0500, Hans-Peter Nilsson wrote:
> 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.

See Franz's comment for the risks, though.  Fix glibc's install-headers
not to use a compiler, instead.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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