gdb
[Top][All Lists]
Advanced

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

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


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

Trying to compile gdb-5.3 using uClibc to generate a gdb that can talk
to my mipsel-uclibc gdbserver.  I configured gdb thusly:

  AR=/path/to/mipsel-uclibc-ar\
   AS=/path/to/mipsel-uclibc-as\
   LD=/path/to/mipsel-uclibc-ld\
   NM=/path/to/mipsel-uclibc-nm\
   CC=/path/to/mipsel-uclibc-gcc\
   GCC=/path/to/mipsel-uclibc-gcc\
   CXX=/path/to/mipsel-uclibc-g++\
   RANLIB=/path/to/mipsel-uclibc-ranlib\
   ./configure --target=mipsel-linux --host=i386-pc-linux-gnu

When I run make, the following appears to successfully build:
libiberty, libbfd, libopcodes, libmmalloc, libreadline, and sim/igen.
But when it comes to sim/mips, I see this:

  make[2]: Entering directory 
`/home/dave/C/perforce/source/deschutes/buildroot-M14.0-X225/gdb-5.3/sim/mips'
  rm -f tmp-tvals.h tmp-tmap.c
  ./gentmap -h >tmp-tvals.h
  /bin/sh: line 1: ./gentmap: cannot execute binary file
  make[2]: *** [stamp-tvals] Error 126
  make[2]: Leaving directory 
`/home/dave/C/perforce/source/deschutes/buildroot-M14.0-X225/gdb-5.3/sim/mips'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory 
`/home/dave/C/perforce/source/deschutes/buildroot-M14.0-X225/gdb-5.3/sim'
  make: *** [all-sim] Error 2

I've tried quite a few different configurations but I can't seem to
clear this step.  Any suggestions?

Thanks,
Dave





reply via email to

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