This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Cross Compiling the GDB 6.0 branch
- From: Chris dot Pedley at arm dot com
- To: gdb at sources dot redhat dot com
- Date: Fri, 29 Aug 2003 16:33:09 +0100
- Subject: Cross Compiling the GDB 6.0 branch
Hi,
I checked out the gdb_6_0-branch earlier today and am having some trouble
cross compiling this for ARM Linux (its all building fine to use locally on
my Intel box). Just to clarify - I'm trying to build a gdb to be run on an
ARM Linux machine, debugging ARM applications but built on an Intel box
(host=arm-linux, target=arm-linux, build=i686-linux).
When configuring readline the following error is reported:
checking for mbstate_t... configure: error: cannot run test program while
cross compiling
Unlike errors about cross compiling when configuring readline whilst
building gdb 5.3, this error does stop the build. I've tried hunting
around for a --disable-testing / --without-test configuration option but
can't find anything obvious.
Any ideas?
Thanks,
Chris
--
Chris Pedley, Graduate Engineer
Intellectual Property Solutions Division
ARM Ltd, 110 Fulbourn Rd, Cambridge CB1 9NJ UK
Tel : +44 1223 400847 Fax: +44 1223 400410