cross-compilation documentation
Dan Kegel
dank@kegel.com
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
>> http://sources.redhat.com/ml/crossgcc/2003-06/msg00170.html
>> 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
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------
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