on begalboard

 gcc command not found

 so i have to cross compile it


On Wednesday, March 18, 2015 at 4:56:46 PM UTC+5:30, cmbaker3 wrote:
>
>  Why not compile on the beagle directly?
> Transfer the file and compile with "gcc *arm-none-linux-gnueabi 
> file-name.c*"
> Chad
>
> On 3/18/2015 3:25 AM, Dhruvil Patel wrote:
>  
>
>
>     For compiling c file 
>
>   *arm-none-linux-gnueabi file-name.c*
>
>  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*
>  -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> -- 
> Chad Baker Memphis, TN
>  

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