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 4/20/06, Wu Bridge <mingqiao.wu@gmail.com> wrote: > I'm trying to build a iwmmxt/eabi toolchain with nptl support by using > crosstool. > BINUTILS_DIR=binutils-2.16.1 For ARM-EABI you need binutils-2.16.91.0.7; 2.16.1 is too old. Crosstool has support in it for downloading this from the correct place. > GCC_CORE_DIR=gcc-3.3.6 I use GCC_CORE_DIR=gcc-4.1.0 (or rather, I don't specify it, so it is the same as GCC_DIR) > ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:29:3: error: #error > Kernel headers are too old I get this error too, but the build goes ahead ok. > ports/sysdeps/arm/nptl/tls.h:48:3: error: #error "TLS support is required." > KERNELCONFIG=`pwd`/arm.config If this is the arm.config supplied with crosstool, you need to make a kernel .config for the EABI version. i call mine earm.config; arm-eabi.config may be a better name. To do this, unpack linux-2.6.16, cd into it and go cp ../arm.config .config make ARCH=arm oldconfig make ARCH=arm menuconfig set the right kernel options and then when you have quit menuconfig cp .config ../arm-eabi.config There is my sample earm.config under http://freaknet.org/martin/crosstool which yuo can use as a .config to start from but you will need to change the processor settings for this to work; mine is set to ARM1026, for which the linux kernel needs a patch... this is work in progress. M -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |