Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb@sources.redhat.com
Subject: Re: How to build gdb for cygwin on linux
Date: Mon, 04 Aug 2003 14:33:00 -0000	[thread overview]
Message-ID: <20030804143316.GC7313@redhat.com> (raw)
In-Reply-To: <1060007349.6183.4.camel@calcul3.lcmi.local>

On Mon, Aug 04, 2003 at 04:29:10PM +0200, Christophe Trophime wrote:
>I am desperately trying to build a cross gdb for cygwin
>on my linux box (RedHat 9). I have manage to build a cross gcc
>but I cannot make gdb to build. The configure script keeps telling me
>that "cygwin" is not supported!  
>
>[]$ ~/gdb-20030303-1/configure  --target=i686-pc-cygwin --prefix=$prefix
>creating cache ./config.cache 
>checking host system type... i686-pc-linux-gnu 
>checking target system type... i686-pc-cygwin 
>checking build system type... i686-pc-linux-gnu
>*** This configuration is not supported in the following subdirectories:
>     gdb libgui
>    (Any other directories should still work fine.)
>
>I grab gdb sources from cygwin.
>
>Can anybody help me?

If you are talking about building a cygwin that runs on linux and debugs
binaries running on windows, then the configure is accurately portraying
the current situation, i.e., it's not supported.

If you are talking about using linux to build a gdb.exe which will eventually
run on windows, then that is doable but you have to build a cross compilation
environment first.  I think that's a little outside of the scope of this
mailing list.  Perhaps the crossgcc mailing list could be of assistance there.
There are also a lot of sites talking about this in google.

cgf


      reply	other threads:[~2003-08-04 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-04 14:29 Christophe Trophime
2003-08-04 14:33 ` Christopher Faylor [this message]

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=20030804143316.GC7313@redhat.com \
    --to=cgf@redhat.com \
    --cc=gdb@sources.redhat.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