no file will execute - shell said always not found
Hello,
at the moment I build a toolchain with buildroot for arm xscale (pxa270) with the following config:
Using built-in specs.
Target: arm-linux-uclibc
Configured with: /usr/src/buildroot/toolchain_build_arm/gcc-4.2.3/configure --prefix=/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++ --with-sysroot=/usr/src/buildroot/build_arm/staging_dir --with-build-time-tools=/usr/src/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc/bin --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-symvers=gnu --enable-shared --with-gmp=/usr/src/buildroot/toolchain_build_arm/gmp --with-mpfr=/usr/src/buildroot/toolchain_build_arm/mpfr --disable-nls --enable-threads --disable-multilib --with-float=soft Thread model: posix
gcc version 4.2.3
I can compile different things, but the shell on the embedded system says only "-sh: ./FILE_TO_EXECUTE: not found" after execute.
Are my gcc configs wrong?
Other toolchains (gcc 4.0.0) for example ELDK from DENX works fine. My rootfilesystem is an image from toradex and works also fine.
Is it possible that I have to copy something else to the rootfilesystem, which is specific to the actually gcc-version?
I hope sb can help me.
Regards
Maik
Signature · 2 lines
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
The FILE_TO_EXECUTE and the rootfs should be built with the same toolchain, same linux headers, etc.
Otherwise incompatibilities can result. You can't mix and match. -Rex
Quoted 34 lines · Maik Steuer
Hello,
at the moment I build a toolchain with buildroot for arm xscale (pxa270) with the following config:
Using built-in specs.
Target: arm-linux-uclibc
Configured with:/usr/src/buildroot/toolchain_build_arm/gcc-4.2.3/configure--prefix=/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++ --with-sysroot=/usr/src/buildroot/build_arm/staging_dir --with-build-time-tools=/usr/src/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc/bin --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-symvers=gnu --enable-shared --with-gmp=/usr/src/buildroot/toolchain_build_arm/gmp --with-mpfr=/usr/src/buildroot/toolchain_build_arm/mpfr --disable-nls --enable-threads --disable-multilib --with-float=soft
Thread model: posix
gcc version 4.2.3I can compile different things, but the shell on the embedded system says only "-sh: ./FILE_TO_EXECUTE: not found" after execute.
Are my gcc configs wrong?
Other toolchains (gcc 4.0.0) for example ELDK from DENX works fine. My rootfilesystem is an image from toradex and works also fine.
Is it possible that I have to copy something else to the rootfilesystem, which is specific to the actually gcc-version?
I hope sb can help me.
Regards
Quoted 9 lines
Maik
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080521/542c58da/attachment.htm