building bootstrap gcc
William A. Gatliff
bgat@billgatliff.com
Tue Nov 5 19:42:00 GMT 2002
Alexander:
On Tue, Nov 05, 2002 at 10:39:02PM -0500, Alexander Gdalevich wrote:
> Greetings!
>
> I am trying to build cross gcc, but I also must build libc for my platform.
> The way to do it is to first build and install only the bootstrap gcc, using
> that compiler build libc (newlib in my case), then build complete gcc using
> the libc just built.
>
> My question is: how do you configure the environment to generate and
> install only the bootstrap compiler and gcclib? Even so I configure with
> --without-headers and --without-libs it still tries to build libiberty and
> that requires libc.
>
> Thanks for your time.
When you build the bootstrap gcc, build do this:
$ make all-gcc install-gcc
That'll stop the process before it gets to the point where it needs
libraries. Then build and install your libc, then come back and
rebuild the complete compiler.
HTH,
b.g.
--
Bill Gatliff
Embedded systems and Free Software. Yea, it *is* all that!
See http://billgatliff.com for details.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list