Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Cross Compiling the GDB 6.0 branch
@ 2003-08-29 15:33 Chris.Pedley
  2003-08-29 15:35 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Chris.Pedley @ 2003-08-29 15:33 UTC (permalink / raw)
  To: gdb


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



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Cross Compiling the GDB 6.0 branch
@ 2003-08-29 16:12 Chris.Pedley
  0 siblings, 0 replies; 3+ messages in thread
From: Chris.Pedley @ 2003-08-29 16:12 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb


On 29/08/2003 16:35:31 gdb-owner wrote:
>On Fri, Aug 29, 2003 at 04:33:09PM +0100, Chris.Pedley@arm.com wrote:
>> When configuring readline the following error is reported:
>> checking for mbstate_t... configure: error: cannot run test program
while
>> cross compiling
>
>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.

Thanks, yes you did mention this earlier.  I've now done this and
it builds successfully.

--
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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-29 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 15:33 Cross Compiling the GDB 6.0 branch Chris.Pedley
2003-08-29 15:35 ` Daniel Jacobowitz
2003-08-29 16:12 Chris.Pedley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox