cross compile gdb

Ming Zhang mingz@ele.uri.edu
Fri Nov 14 20:14:00 GMT 2003


sorry that I messed them up. I want a gdb that can run directly on my
arm board to debug the arm binary. so i at least need to change to
target=arm, host=arm, build=i686. and what i need to do more? thx.

ming

On Fri, 2003-11-14 at 15:09, Marc Kleine-Budde wrote:
> 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
-- 
---------------------------------------------------
| Ming Zhang, PhD. Student
| Dept. of Electrical & Computer Engineering
| College of Engineering
| University of Rhode Island
| Kingston RI. 02881
| e-mail: mingz at ele.uri.edu
| Tel. (401) 874-2293
| Fax. (401) 782-6422
| http://www.ele.uri.edu/~mingz/
---------------------------------------------------



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



More information about the crossgcc mailing list