From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17033 invoked by alias); 30 Apr 2007 16:38:44 -0000 Received: (qmail 17020 invoked by uid 22791); 30 Apr 2007 16:38:43 -0000 X-Spam-Check-By: sourceware.org Received: from vms040pub.verizon.net (HELO vms040pub.verizon.net) (206.46.252.40) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Apr 2007 17:38:41 +0100 Received: from ultsol.com ([72.74.243.178]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JHB00IS7KW7OWZC@vms040.mailsrvcs.net> for gdb@sourceware.org; Mon, 30 Apr 2007 11:38:32 -0500 (CDT) Date: Mon, 30 Apr 2007 16:38:00 -0000 From: "Fahd Abidi" Subject: RE: trying to build gdb with renamed cygwin1.dll To: Message-id: <071DB0C788671B48940BC79F8B4930691181F6@ultsol01.tewks.ultsol.local> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable Content-class: urn:content-classes:message X-Ninja-PIM: Scanned by Ninja X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00175.txt.bz2 Actually I am planning on eventually building a cross debugger for arm/ppc/mips/xscale. But that will be afterwards. Right now I am just trying to get the gdb binary to be stand alone. Actually I had allot of success with building with the --disable-shared and --enable-static option and was able to move the resulting gdb across different versions of cygwin1.dll without it complain about using an incompatible version of cygwin1.dll. I think I will use this and play some games with a batch script and figure out how to detect an existing version of cygwin1.dll then use that info to decide whether to install my own version before gdb starts up. Sounds like that will be the easiest solution. Thanks for all the help. Sorry if I posted your email will be more careful in the future. Is there a moderator here that can remove the email address from my previous post? thanks, Fahd =20 -----Original Message----- From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Andrew STUBBS Sent: Monday, April 30, 2007 12:30 PM To: gdb@sourceware.org Cc: Fahd Abidi Subject: Re: trying to build gdb with renamed cygwin1.dll Brian Dessent wrote: > I think the two of you are talking about two different things. It=20 > sounds like he's trying to build a native debugger, and you're talking > about a MinGW-hosted cross. As far as I know (and I could be wrong),=20 > building a native MinGW gdb does not work currently and hasn't for=20 > some years, because it requires a ton of local patches that were never > contributed. The MinGW site indeed offers only a circa-2003 gdb v6.0=20 > and a 2005 vintage v6.3, and that's it. Fair point, I am talking about my experience with a cross-debugger. He doesn't actually say what his debugger targets, but I had assumed it was not native because, if he has Cygwin, he already has a native GDB. Sorry if I've confused the matter. Andrew