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

See the CrossGCC FAQ for lots more information.


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: cross compile gdb


On Fri, Nov 14, 2003 at 02:59:51PM -0500, Ming Zhang wrote:
> then i began to compile a native arm gdb 6 by

> export bash_cv_have_mbstate_t=yes

> CC=arm-unknown-linux-gnu-gcc ./configure --target=arm-unknown-linux-gnu
> --prefix=/root/crosstool-0.24/result/arm-unknown-linux-gnu/gcc-3.3.1-glibc-2.3.2/target --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu

Don't export CC=arm-unknown-linux-gnu-gcc.

What do you mean by native arm gdb?
You configured gdb like this:

target=arm	gdb that can debug arm code
host=i686	gdb will run on i686
build=i686	gdb will be build on i686

Marc

-- 
<DocSnyder> Gemeint ist die Uni Bielefeld. Um eine Panik zu vermeiden,
wurde nun die Entdeckung der University of Illinois zugeschoben.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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