This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: building bootstrap gcc


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


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