for the cross-compiled executable, I get-
:mike1# readelf -h test | grep -i flags
Flags: 0x4000002, has entry point,
<unrecognized EABI>
whereas for the natively compiled executable, which does run (slowly),
I get-
:kalman# readelf -h test | grep -i flags
Flags: 0x2, has entry point, GNU EABI
While "unrecognized EABI" is certainly not encouraging, the "GNU EABI"
on the working, natively compiled file seems to indicate EABI on my
particular 7800... for both kernel and userland?
Also, I noticed that the natively compiled file calls ld-linux.so.2,
whereas as the cross compiled file calls ld-linux.so.3, which is not
present on my 7800.
-mike
--- In Christopher Friedt <> wrote:
>
> delapluie wrote:
> > I was unsuccessful in getting the crosstools to work from Ubuntu.
> > When I ftp'd my executable to the 7800, and did a "chmod +x test", I
> > keep getting-"-bash: ./test: No such file or directory" If anyone has
> > any thoughts on this problem, I'd appreciate it.
>
> You definitely won't be able to run an eabi binary without both an eabi
> kernel as well as an eabi userland.
>
> bash is probably reporting that the binary executable format is
> incorrect. (you're probably running an oabi userland and kernel).
>
> even though 'test' might be compiled to use the eabi, it's not going to
> work unless you have a compatible userland.
>
> check out what the output of "readelf -h test | grep -i flags" gives
you.
>
> Chris
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|