2012/1/10 Lv Terry-R65388 r65388@freescale.com:
The arm-linux-gnueabi-gcc's attribute is: r65388@shlinux3:~/MEMCPYBM$ ls -l ~//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc -rwxr-xr-x 2 r65388 s2101 383162 2012-01-04 09:47 /home/r65388//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc
Hi Terry. Thank you for the bug report. I've confirmed this with gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux on Ubuntu 11.04 x86_64 Server:
cbuild@crucis-natty:~$ ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc -o hello hello.c ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
The problem is due to the 64 bit host missing the 32 bit libraries. Try running 'sudo apt-get install ia32-libs'.
I've logged this as LP: #914516. The fix is to update the documentation to mention installing both lsb and the ia32-libs on a 64 bit host.
-- Michael