cross-compilation documentation

Dan Kegel
Sun Jun 22 16:42:00 GMT 2003

Andrew Pinski wrote:
>> That first step, installing bootstrap glibc headers, is a new
>> and annoying prerequisite as of gcc-3.3. See
>> for my rant on the subject.
> No you do not have install the headers because you can pass to gcc
> --without-headers and that will make sure that you do not compile
> the sources that require glibc's headers.
> So total process is:
> cd gccobjdir
> .../gcc-sources/configure --without-headers --target=???-linux-gnu 
> --prefix=??? --enable-languages=c
> make
> make install
> cd glibcobjdir
> .../glibc-sources/configure --target=???-linux-gnu --prefix=???
> make
> make install
> cd gccobjdir
> .../gcc-sources/configure --prefix=???

Ahh, thanks.  I'll try it.  That should speed up my build times
noticably, too, since just installing the glibc headers takes
about 10% of my run time.
- Dan

Dan Kegel

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list