You probably need to use chmod to make hello executable.

--- Graham

==

On Monday, March 23, 2015 at 9:19:18 AM UTC-5, sudiptas...@gmail.com wrote:
>
> Hi, I followed the  below url for cross compiling my code for Beaglebone.
>
>
> http://datko.net/2013/05/06/cross-compiling-applications-for-the-beaglebone/
>
> After compiling when I am copying the file to Begale bone using scp 
> command it's giving some error as follows
>
> root@beaglebone:~/Desktop/Sudipta# ./hello 
> -sh: ./hello: No such file or directory
>
> can any one please help me for resolving the same.
>
> On Friday, August 23, 2013 at 3:12:40 PM UTC+5:30, arunbarn...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> Host PC: Ubuntu 12.04 (64 Bit)
>> Eclipse : Indigo
>> BeagleBone Black
>>
>> I have just got my beaglebone black. I have been able to connect to 
>> internet (set static IP and DNS).
>>
>> I have also managed to write and execute  a small hello world program on 
>> the beaglebone itself as described by derek molloy's video tutorials. The 
>> program works very well.
>>
>> I have also setup Eclipse IDE on my Ubuntu 12.04 (64 Bit) laptop for 
>> cross-compiling programs on the BBB. Again derek molloy's video was very 
>> useful here. I could setup the arm tool chains, remote explorer. A test 
>> program made on eclipse also compiled succesfully.
>>
>> I copied and pasted this program to my BBB home directory and I got the 
>> error 'No such File or Directory', I have also made the program executable 
>> by using chmod ugo+x test as described in derek molloy's video tutorial. 
>> But I am still unable to run a cross-compiled program on BBB.
>>
>> Please suggest how I can solve this problem. Is this because I am using 
>> 64bit host OS ??
>>
>> thanks
>> a
>>
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to