A question about linux headers

Daniel Kegel dank@kegel.com
Fri Sep 10 19:54:00 GMT 2004


Gao Zhan wrote:
> I built cross toolchain for arm with gcc-3.3.4,
> glibc-2.3.2, binutils-2.15, and linux-2.4.21 headers.
> The toolchain can successfully make zImage of
> linux-2.6.8 kernel. I understood that linux headers
> from linux-2.4.21 was referenced by the glibc as
> building the toolchain. When making zImage of
> linux-2.6.8 kernel, whose headers may vary from those
> of linux-2.4.21, is there any potential problem that
> the 2.4.21 headers-based glibc is linked in 2.6.8
> kernel?

Yes -- you won't have access to any interface features new to 2.6.8.
It may be best to build the toolchain with the newest kernel's headers.
Crosstool has been building with oldish headers mostly out of inertia.
- Dan

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