This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem building with 2.6 kernel headers


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


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