From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16641 invoked by alias); 4 Aug 2003 14:33:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16618 invoked from network); 4 Aug 2003 14:33:16 -0000 Received: from unknown (HELO redhat.com) (24.131.133.249) by sources.redhat.com with SMTP; 4 Aug 2003 14:33:16 -0000 Received: by redhat.com (Postfix, from userid 201) id 0D09732A8A5; Mon, 4 Aug 2003 10:33:17 -0400 (EDT) Date: Mon, 04 Aug 2003 14:33:00 -0000 From: Christopher Faylor To: gdb@sources.redhat.com Subject: Re: How to build gdb for cygwin on linux Message-ID: <20030804143316.GC7313@redhat.com> Mail-Followup-To: gdb@sources.redhat.com References: <1060007349.6183.4.camel@calcul3.lcmi.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1060007349.6183.4.camel@calcul3.lcmi.local> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-08/txt/msg00040.txt.bz2 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