Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Chris.Pedley@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: Cross Compiling the GDB 6.0 branch
Date: Fri, 29 Aug 2003 15:35:00 -0000	[thread overview]
Message-ID: <20030829153531.GA30429@nevyn.them.org> (raw)
In-Reply-To: <OF351D16CC.9A81F1DC-ON80256D91.005337A5-80256D91.00556EFD@cambridge.arm.com>

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


  reply	other threads:[~2003-08-29 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29 15:33 Chris.Pedley
2003-08-29 15:35 ` Daniel Jacobowitz [this message]
2003-08-29 16:12 Chris.Pedley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030829153531.GA30429@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=Chris.Pedley@arm.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox