Cross Compiling the GDB 6.0 branch

Chris.Pedley@arm.com Chris.Pedley@arm.com
Fri Aug 29 15:33:00 GMT 2003


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




More information about the Gdb mailing list