gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gdb] Re: uClibc: sim/mips/gentmap: cannot execute binary file


From: David Wuertele
Subject: [Gdb] Re: uClibc: sim/mips/gentmap: cannot execute binary file
Date: Wed, 06 Aug 2003 09:44:46 -0700
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (gnu/linux)

Me> RANLIB=/path/to/mipsel-uclibc-ranlib\
Me> ./configure --target=mipsel-linux --host=i386-pc-linux-gnu

Paul> Have you tried adding --build=?

Yes.  Apparently "--build=" just defaults to whatever "--host=" was
set to, so there is no difference.

Me> 
Me> When I run make, the following appears to successfully build:
Me> libiberty, libbfd, libopcodes, libmmalloc, libreadline, and sim/igen.
Me> But when it comes to sim/mips, I see this:
Me> 
Me> make[2]: Entering directory 
`/home/dave/C/perforce/source/deschutes/buildroot-M14.0-X225/gdb-5.3/sim/mips'
Me> rm -f tmp-tvals.h tmp-tmap.c
Me> ./gentmap -h >tmp-tvals.h
Me> /bin/sh: line 1: ./gentmap: cannot execute binary file

Paul> If you type "file gentmap", what binary format is it?

  gentmap: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV),
  dynamically linked (uses shared libs), not stripped

This was obviously built for the target, not the host.

Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]