Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] no file will execute - shell said always not found
@ 2008-05-21  8:58 Maik Steuer
  2008-05-21 13:15 ` Rex Ashbaugh
  0 siblings, 1 reply; 2+ messages in thread
From: Maik Steuer @ 2008-05-21  8:58 UTC (permalink / raw)
  To: buildroot

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
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] no file will execute - shell said always not found
  2008-05-21  8:58 [Buildroot] no file will execute - shell said always not found Maik Steuer
@ 2008-05-21 13:15 ` Rex Ashbaugh
  0 siblings, 0 replies; 2+ messages in thread
From: Rex Ashbaugh @ 2008-05-21 13:15 UTC (permalink / raw)
  To: buildroot

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

On Wed, May 21, 2008 at 1:58 AM, Maik Steuer <Maik.Steuer@gmx.de> wrote:

> 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
> --
> 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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-21 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21  8:58 [Buildroot] no file will execute - shell said always not found Maik Steuer
2008-05-21 13:15 ` Rex Ashbaugh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox