Hi.  Thanks for the replies.  I' obviously doing something wrong!

I downloaded and unpacked "gcc-linaro-arm-linux-gnueabihf-4.8-2013.12".  I've 
set up eclipse to the point where it recognizes the compiler etc.  It 
compiles and links my HW1.c "Hello World" program without complaint, but 
after I drag HW1.elf file to the BBB apply chmod +x, my attempt to run it 
generates
    ./HW1.elf: No such file or directory
even though it certainly is there.
    ls -l HW1.elf
returns
    -rwxr-xr-x 1 root root 29946 Jan 15 15:06 HW1.elf
and
    file HW1.elf 
returns
    HW1.elf: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.16, not stripped

I can then compile the program on the BBB to create HW1, and it does work.
    file HW1
returns
    HW1: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.26, 
BuildID[sha1]=0x7d4b8bfc34b5b12ce5ff35dd2657c7bc9377c1ad, not stripped

I don't know where the "GNU/Linux 2.6.16" versus "GNU/Linux 2.6.26" comes 
from, nor what it really means, nor what to do about it.  But since that's 
the difference between the two, I have to suspect that it's important.

It's naive, but I've looked for a lib with 2.6 in its name (find / -name 
\*lib\* | grep 2.6), but that's no help.

Also, the comment "The ABI you choose however depends on which Linux distro 
 you're using" is a mystery to me.  There weren't any distro choices when I 
downloaded "gcc-linaro-arm-linux-gnueabihf-4.8-2013.12"

Many thanks for whatever help you can provide!
    - Richard


On Wednesday, January 15, 2014 3:34:12 PM UTC-5, William Hermans wrote:
>
> As Robert says Linaro has Win32 binaries that do work ( I've done this 
> myself back in june ish last year ). the win32 binaries also run just fine 
> on Windows 7 enterprise x64, for what it is worth.
>
> The ABI you choose however depends on which Linux distro  you're using. 
> Unless things have changed since I've done this myself.
>
>
> On Wed, Jan 15, 2014 at 11:43 AM, Robert Nelson 
> <[email protected]<javascript:>
> > wrote:
>
>> On Wed, Jan 15, 2014 at 12:20 PM,  <[email protected] <javascript:>> 
>> wrote:
>> > I'm used to running an eclipse-based IDE (Codewarrior) to develop code 
>> for
>> > embedded processors, and I'd like to set up this kind of a system for 
>> the
>> > BBB.
>> >
>> > From my reading, it appears that I have to install a toolchain into 
>> eclipse,
>> > one that supports a windows 7 host and an ARM Cortex A8 v7a target (hard
>> > float).  If this all works as it should, I keep my source on the Windows
>> > machine and debug the code on the target.  I'd much prefer not to run a
>> > version of Linux in a virtual machine under windows, since that 
>> involves a
>> > lot of overhead.
>> >
>> > Is there a pre-built toolchain that I can use?
>>
>> http://www.linaro.org/ -> Downloads
>>
>> Scroll down to "Binaries" pick the one you 4.7 or 4.8 just not the
>> aarch64 ones..
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> http://www.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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.

Reply via email to