Linux MIPS Architecture development
 help / color / mirror / Atom feed
* problem of cross compile
@ 2005-01-05  7:56 ichinoh
  2005-01-05 14:22 ` Wolfgang Denk
  2005-01-05 16:26 ` Michael Stickel
  0 siblings, 2 replies; 4+ messages in thread
From: ichinoh @ 2005-01-05  7:56 UTC (permalink / raw)
  To: linux-mips

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem of cross compile
  2005-01-05  7:56 problem of cross compile ichinoh
@ 2005-01-05 14:22 ` Wolfgang Denk
  2005-01-05 16:26 ` Michael Stickel
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-01-05 14:22 UTC (permalink / raw)
  To: ichinoh; +Cc: linux-mips

In message <1104911780.5055@157.120.127.3.DIONWebMail> you wrote:
> 
> I have a question about cross compile(MIPS on REDHAT9).
...
> "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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Never call a man a fool.  Borrow from him.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem of cross compile
  2005-01-05  7:56 problem of cross compile ichinoh
  2005-01-05 14:22 ` Wolfgang Denk
@ 2005-01-05 16:26 ` Michael Stickel
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Stickel @ 2005-01-05 16:26 UTC (permalink / raw)
  To: linux-mips

On Wednesday 05 January 2005 08:56, you wrote:
> 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.

> "test:ELF 32-bit LSB executable, no machine, version 1(SYSV), for GNU/Linux
> 2.4.17, dynamically linked (uses shared libs), stripped"

Michael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem of cross compile
@ 2005-01-06  2:22 ichinoh
  0 siblings, 0 replies; 4+ messages in thread
From: ichinoh @ 2005-01-06  2:22 UTC (permalink / raw)
  To: linux-mips

Thank you for the reply. 

I was using the strip command in REDHAT. 
When I used STRIP for crossing, the file was normally executed. 

>Make shure you used the corss strip (eg. mips-linux-strip) and not the host 
strip.

>Michael

Nyauyama.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-06  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05  7:56 problem of cross compile ichinoh
2005-01-05 14:22 ` Wolfgang Denk
2005-01-05 16:26 ` Michael Stickel
  -- strict thread matches above, loose matches on Subject: below --
2005-01-06  2:22 ichinoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox