On Wed, Mar 18, 2015 at 3:25 AM, Dhruvil Patel
<[email protected]> wrote:
>
>
>     For compiling c file
>
>   arm-none-linux-gnueabi file-name.c

"gnueabi" = "armel"

For "armhf" you need "gnueabihf"...

>
>  after that  got the a.out file
>   file a.out
>
>  a.out: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically
> linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
>
>
>  but when i am load on beagle board
>  ./a.out
>
>  it will show this error
>
> ./a.out: error while loading shared libraries: libgcc_s.so.1: cannot open
> shared object file: No such file or directory

Either, install the slower "armel" multi-arch libc, or just use the
proper compiler..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to