Can you tell me exactly what you do. I make a same issue but i can't solve 
it. Thank you a lot

Vào 00:58:16 UTC+7 Thứ bảy, ngày 24 tháng tám năm 2013, 
[email protected] đã viết:
>
> OK I got it working now.
>
> I was copying the wrong executable from Eclipse, I selected the correct 
> one (there are two executable, it seems I configured Eclipse wrongly) and 
> now the program works on BBB as expected.
>
> Thanks a lot for the help.
> a
>
> On Friday, August 23, 2013 11:08:30 PM UTC+5:30, [email protected]:
>>
>> yes I am cross-compiling, I have changed the compiler settings, from 
>> eclipse IDE. Project>>Properties>>C++ build settings
>>
>> The GC C++ compiler command setting is arm-linux-gnueabi-g++, the GC C 
>> Compiler command settings is arm-linux-gnueabi-gcc, GC C++ Linker command 
>> is arm-linux-gnueabi-g++ and the GCC Assembler command 
>> is arm-linux-gnueabi-as
>>
>> I execute the program by ./test
>>
>> I will post the details of strace executable
>>
>> thanks for the help
>> a
>>
>> On Friday, August 23, 2013 10:49:13 PM UTC+5:30, Przemek Klosowski wrote:
>>>
>>> On Fri, Aug 23, 2013 at 5:42 AM,  <[email protected]> wrote: 
>>>
>>> > 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 ?? 
>>> > 
>>>
>>> Please describe in more detail what exactly are you copying. THe 
>>> binary you cross-compile on your desktop normally can't be copy-pasted 
>>> suscessfully; you probably should set up SSH public-key based login 
>>> and scp the file. 
>>>
>>> How exactly do you invoke it on the BBB? ./executable is the 
>>> recommended way to avoid PATH-related surprises. After that, maybe try 
>>> 'strace executable' to see what system call causes the file error 
>>> you're seeing. 
>>>
>>> You ARE cross-compiling, as opposed to creating an Intel x86 based 
>>> executable and trying to execute it on the ARM CPU, right? 
>>>
>>

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