This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How to build gdb for cygwin on linux
- From: Christopher Faylor <cgf at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 4 Aug 2003 10:33:16 -0400
- Subject: Re: How to build gdb for cygwin on linux
- References: <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