Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* x86-linux -> x86-pe GDB will not configure
@ 2001-07-11 15:50 Stephen Smith
  2001-07-13 12:22 ` GDB for PE/Cywin target won't build on linux Stephen Smith
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Smith @ 2001-07-11 15:50 UTC (permalink / raw)
  To: GDB

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


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

end of thread, other threads:[~2001-07-16 14:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-11 15:50 x86-linux -> x86-pe GDB will not configure Stephen Smith
2001-07-13 12:22 ` GDB for PE/Cywin target won't build on linux Stephen Smith
2001-07-13 14:41   ` DJ Delorie
2001-07-13 15:02     ` Stephen Smith
     [not found]       ` <200107132206.SAA27799@greed.delorie.com>
2001-07-13 15:26         ` Stephen Smith
2001-07-16 11:49       ` Stephen Smith
2001-07-16 12:33         ` Kevin Buettner
2001-07-16 12:52           ` DJ Delorie
2001-07-16 14:27           ` Stephen Smith

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