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: Cross Compiling the GDB 6.0 branch


On Fri, Aug 29, 2003 at 04:33:09PM +0100, Chris.Pedley@arm.com wrote:
> 
> 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?

I think I mentioned this in response to an earlier message?  You need
to simply pre-seed that test: export bash_cv_have_mbstate_t=yes.  This
is a bug in readline's configure script that I need to get around to
fixing.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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