Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stephen Smith <ischis2@home.com>
To: GDB <gdb@sourceware.cygnus.com>
Subject: x86-linux -> x86-pe GDB will not configure
Date: Wed, 11 Jul 2001 15:50:00 -0000	[thread overview]
Message-ID: <3B4CD85B.C35AE862@home.com> (raw)

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


             reply	other threads:[~2001-07-11 15:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-11 15:50 Stephen Smith [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B4CD85B.C35AE862@home.com \
    --to=ischis2@home.com \
    --cc=gdb@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox