This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: cross-compilation documentation


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


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