Hi All: I just cross compile the arm-*-linux-uclibc cross tools for my board. The software I used are binutils 2.19 & gcc 4.3.2 & uClibc 0.9.30 Everything seems ok but failed the last step while build the whole gcc compiler. The uClibc lib compiled successed. The configuration for arm is:"Generic Arm && Little endian", the lib generated and install in the right place. When I compile the gcc for the last time, the error occurs:"/toolchain/root/usr/lib/libc.so.0: could not read symbols: File in wrong format" I use 'file' command to see the format about the libc.so.o,it shows "lib/libuClibc-0.9.30.so: ELF 32-bit LSB shared object, ARM, version 1 (ARM), stripped". Also another thing is when I change directory to 'toolchain/root/usr/lib', using 'ls' conmmand to what file are, the error occurs "ls: error while loading shared libraries: libpthread.so.0: ELF file OS ABI invalid " Can everyone give me a hand? Mark
this question is more appropriate for cross-compilation related mailing lists.
Maybe /toolchain/root/usr/lib/libc.so contains /lib/ as path instead of the complete path of your cross-compile environment.