From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9063 invoked by alias); 27 Oct 2003 16:41:58 -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 8904 invoked from network); 27 Oct 2003 16:41:51 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by sources.redhat.com with SMTP; 27 Oct 2003 16:41:51 -0000 Received: (qmail 16229 invoked by uid 65534); 27 Oct 2003 16:41:50 -0000 Received: from pD9EC2AC6.dip.t-dialin.net (EHLO timberwolf.redshift) (217.236.42.198) by mail.gmx.net (mp013) with SMTP; 27 Oct 2003 17:41:50 +0100 X-Authenticated: #375203 Received: by timberwolf.redshift (Postfix, from userid 1000) id F306D1C1D8; Mon, 27 Oct 2003 17:41:36 +0100 (CET) Date: Mon, 27 Oct 2003 16:41:00 -0000 To: "Wolcott, Ken (MED, Compuware)" Cc: gdb mailing list , crossgcc@sources.redhat.com Subject: Re: newbie question: need arm9 native gdb; how to compile gdb source for arm9? Message-ID: <20031027164136.GA21818@timberwolf.dyndns.org> References: <200310271003.17884.ken.wolcott@med.ge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310271003.17884.ken.wolcott@med.ge.com> User-Agent: Mutt/1.3.28i From: kleine-budde@gmx.de (Marc Kleine-Budde) X-SW-Source: 2003-10/txt/msg00291.txt.bz2 On Mon, Oct 27, 2003 at 10:03:17AM -0600, Wolcott, Ken (MED, Compuware) wrote: > I have an arm9 cross compiler tool chain created by Dan Kegel's crosstool > (http://www.kegel.com/crosstool/). My developers want a gdb that can grok an > arm9 coredump. They think that they need an arm9 gdb. How do I compile an > arm9 gdb from source? I know how to compile a native gdb from source. > configure --with-gcc=/mumble/../gcc where this is the path to the arm9 gcc > doesn't result in an arm9 gdb. You need to compile your gdb on your host system by hand with: GNU_HOST=i686-unknown-linux-gnu \ (your host system touple) GNU_TARGET=arm-linux \ (or whatever your target touple is) ./configure \ --build=$GNU_HOST \ --host=$GNU_HOST \ --target=$GNU_TARGET or use a sophisticated tool like (is here tool advertising allowed :) ptxdist...(http://ptxdist.sf.net) that can also be used with an external toolchain from dan's crosstool....please use the CVS version of ptxdist hth - Marc -- Also Einschalten, Spielen _und_ Brennen mit Linux oder Einschalten (..) Spielen _oder_ Brennen, Patchen, Patchen, Patchen mit Windows ;-)