This is the mail archive of the crossgcc@sourceware.org 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] |
On Friday 30 May 2008, Marco wrote: > I have a question maybe someone can shed some light on. If I build a > cross toolchain, built with the latest gcc/glibc/kernel headers(lets say > 2.6.24). If the target platform uses a much older kernel (lets say > 2.6.1 ), I'm under the impression that all the software built for the > target should be using the kernel headers for 2.6.1. Which means > special care is needed not to include the 2.6.24 headers from the > toolchain. it depends on the libc. if you're using glibc, then glibc comes with a configure option where you tell it the oldest kernel version it can run on (see the --enable-kernel configure option). that way you can compile against the very latest headers (2.6.25) while still having the C library work on older versions (whatever given to --enable-kernel). -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |