problem of cross compile
Hi!
I have a question about cross compile(MIPS on REDHAT9).
The following message appeared when executing it after the program was crossing compiled.
"bash: ./test cannot execute binary file"
Moreover, it becomes the following display in the file command.
"test:ELF 32-bit LSB executable, no machine, version 1(SYSV), for GNU/Linux 2.4.17, dynamically linked (uses shared libs), stripped"
Have anyone encountered the same phenomenon?
Regards,
Nyauyama.
Quoted 2 lines · In message <[email protected]> you wrote:
I have a question about cross compile(MIPS on REDHAT9).
...
Quoted 1 line
"test:ELF 32-bit LSB executable, no machine, version 1(SYSV), for GNU/Linux 2.4.17, dynamically linked (uses shared libs), stripped"
Looks like your cross toolchain is seriously broken.
Try using the ELDK (see
http://www.denx.de/twiki/bin/view/DULG/ELDKAvailability?stickboard=incaip)
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Never call a man a fool. Borrow from him.
Quoted 3 lines · you
Hi!
I have a question about cross compile(MIPS on REDHAT9).
Make shure you used the corss strip (eg. mips-linux-strip) and not the host strip.
Quoted 2 lines
"test:ELF 32-bit LSB executable, no machine, version 1(SYSV), for GNU/Linux 2.4.17, dynamically linked (uses shared libs), stripped"
Michael