Problem building with 2.6 kernel headers

Dan Kegel dank@kegel.com
Tue Mar 22 17:41:00 GMT 2005


Building toolchains using linux-2.6.11.3 (and probably
other 2.6 variants) seems to suffer from a circular
dependency I hadn't noticed before.

To build gcc and glibc, you need kernel headers.
To install the kernel headers, you need gcc so
it can compile scripts/mod/empty.c with the target
gcc; this is used to produce the file elfconfig.h.
In crosstool, this is only triggered at the moment
when building sh3 or sh4 toolchains, which is why
I hadn't noticed until now.

I'm trying a hack to avoid building elfconfig.h now.

Yes, this is one more reason to try building with the
sanitized kernel headers.  I will do that eventually.
- Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
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