Re: [beagleboard] How to compile a C program for beagle board?

2015-03-18 Thread Robert Nelson
On Wed, Mar 18, 2015 at 3:25 AM, Dhruvil Patel 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 (S

Re: [beagleboard] How to compile a C program for beagle board?

2015-03-18 Thread Dhruvil Patel
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 A

Re: [beagleboard] How to compile a C program for beagle board?

2015-03-18 Thread Chad Baker
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-b

[beagleboard] How to compile a C program for beagle board?

2015-03-18 Thread Dhruvil Patel
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 * .