This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: newbie question: need arm9 native gdb; how to compile gdb source for arm9?


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 ;-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]