cross-compilation documentation

Jim Wilson wilson@tuliptree.org
Tue Jun 24 05:26:00 GMT 2003


Jan-Benedict Glaw wrote:
> <USER type="newbie">
> 	Say I want to give --with-headers, what exactly should I place
> 	there, in which structure?

--with-headers assumes you have access to the target.  You copy the 
entire contents of the target's /usr/include to the build machine, and 
then you use --with-headers to point at the copied tree.

If you are trying to build a glibc based cross compiler from scratch, 
then --with-headers by itself doesn't help you much, because you don't 
have a target /usr/include directory to copy.  You need a more 
complicated build process for this.

Jim



More information about the Gcc mailing list