This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: newbie question: need arm9 native gdb; how to compile gdb source for arm9?
- From: kleine-budde at gmx dot de (Marc Kleine-Budde)
- To: "Wolcott, Ken (MED, Compuware)" <Ken dot Wolcott at med dot ge dot com>
- Cc: gdb mailing list <gdb at sources dot redhat dot com>,crossgcc at sources dot redhat dot com
- Date: Mon, 27 Oct 2003 17:41:36 +0100
- Subject: Re: newbie question: need arm9 native gdb; how to compile gdb source for arm9?
- References: <200310271003.17884.ken.wolcott@med.ge.com>
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
--
<Findus> Also Einschalten, Spielen _und_ Brennen mit Linux oder
Einschalten (..) Spielen _oder_ Brennen, Patchen, Patchen, Patchen
mit Windows ;-)