[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap gcc for powerpc

From: Daniel M Jacobowitz
Subject: Re: bootstrap gcc for powerpc
Date: Wed, 22 May 2002 13:52:08 -0400
User-agent: Mutt/1.3.27i

On Tue, May 21, 2002 at 07:33:07PM -0400, Roland McGrath wrote:
> I have not tried the approach of running libc's make install-headers before
> building GCC.  You surely need to do "make install-headers no_deps=t";
> I'm not confident that will really work either, but it's worth a try.

'make -k install-headers' stops sufficiently far into the process for me,
as I recall.  I haven't tried this in some time, but I'll be going back to
it soon.

I actually configured GCC using a non-cross-compiler and a cross --target=,
and got "good enough" results to get headers installed; then I built GCC
properly, and then glibc properly.  There are some bootstrap issues here

> What I have done is to build GCC first with no headers installed (using
> --enable-languages=c), use make -k and ignore errors building libgcc,
> install gcc.  Then build libc and install it (libs and headers, programs
> won't link).  Then go back and do a complete GCC build and install.  Then
> go back and finish building libc.
> It would be good to get a coherent procedure for building a gcc+libc cross
> environment from scratch specified somewhere and make sure it works.

Completely agree.... both of our techniques are a little hackish.  This worked
before GCC started requiring libc headers to build libgcc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]