Hi Xiang,
Yes--that's how it was on the 7390, anyway--I used the EABI compiler for the
kernel/modules, and OABI for compiling apps for the TS provided file system.
You shouldn't try to execute the binary as an argument to bash. That makes bash
try to interpret it as a shell script. It's expecting a text file containing
shell commands but instead you gave it a binary, so that's what the "cannot
execute binary file" message is telling you.
Instead, you should type:
/home/test
to directly execute the binary. If that gives you the same error you originally
had, you should type "ldd /home/test" (that's lowercase LDD) and see if it's
telling you about a library it cannot locate.
Hope this helps,
Doug
--- In Xiang Lu <> wrote:
>
> Dear Doug,
>
> Thank you for your reminding. I recompiled my application source code using
> the
> toolchain referred in you email, that means I use the EABI toochain to
> compile
> my module, but using the OABI toolchain to compile the application. The
> problem
> is still there with further information.
>
> I used the full path to execute the binary file, saying "/bin/bash
> /home/test",
> the error information is "/home/goose_arm: /home/test: cannot execute binary
> file".
>
> I totally lost in so strange situation. Could you please give me more hints?
> Thank you so much.
>
> Best,
> Xiang
------------------------------------
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/
|