This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
x86-linux -> x86-pe GDB will not configure
- To: GDB <gdb at sourceware dot cygnus dot com>
- Subject: x86-linux -> x86-pe GDB will not configure
- From: Stephen Smith <ischis2 at home dot com>
- Date: Wed, 11 Jul 2001 15:51:07 -0700
I am trying to build a redhat 7.1 hosted i686-pc-pe targeted gdb debugger. I currently
have build a powerpc-motorola-elf targeted version hosted on the redhat box.
If I set target=i686-pc-pe, the insight configure works until it gets to the gdb
directory and then gives me the Error: "GDB does not support the target i686-pc-pe"
I then looked at the gdb/configure.in file and concluded 1139 to 1148 that if I did the followin everything would work:
# At least as of the 20010502 snapshot, most of the packages support the
# i386-pc-pe format except for gdb which supports i386-pc-cygwin and not
# visversa ... so we need to let get know that the two are the same.
# cd $curdir/insight-${insight_version}/gdb/config/i386
if [ ! -f pe.mh -a -f cygwin.mh ] ; then cp -p cygwin.mh pe.mh; fi
if [ ! -f pe.mt -a -f cygwin.mt ] ; then cp -p cygwin.mt pe.mt; fi
if [ ! -f tm-pe.h -a -f tm-cygwin.h ] ; then cp -p tm-cygwin.h tm-pe.h; fi
if [ ! -f xm-pe.h -a -f xm-cygwin.h ] ; then cp -p xm-cygwin.h xm-pe.mh; fi
# Also, the 485, 586, and 686 CPUs aren't mentioned at all.
cd ..
if [ ! -d i486 -a ! -L i486 -a ! -e i486 ] ; then ln -s i386 i486; fi
if [ ! -d i586 -a ! -L i586 -a ! -e i586 ] ; then ln -s i386 i586; fi
if [ ! -d i686 -a ! -L i686 -a ! -e i686 ] ; then ln -s i386 i686; fi
It still doesn't work.
Does anyone have a suggestion?
sps