This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: build/2041: gdb 6.3 - readline's 'configure' fails if cross-compiling
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 2 Dec 2005 01:58:02 -0000
- Subject: Re: build/2041: gdb 6.3 - readline's 'configure' fails if cross-compiling
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR build/2041; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: naren@ccpu.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: build/2041: gdb 6.3 - readline's 'configure' fails if cross-compiling
Date: Thu, 1 Dec 2005 20:51:29 -0500
On Thu, Dec 01, 2005 at 10:47:52PM -0000, naren@ccpu.com wrote:
> I am trying to build a gdb 6.3 that can run on a mips-linux target; using crosscompile toolchain on x86.
> 'configure' fails in readline subdirectory; with this output:
> checking for mbsrtowcs... yes
> checking for wcwidth... yes
> checking for mbstate_t... configure: error: cannot run test program while cross compiling
> See `config.log' for more details.
> make: *** [configure-readline] Error 1
It's a known bug in readline. export bash_cv_have_mbstate_t=yes before
running configure, and things will work.
--
Daniel Jacobowitz
CodeSourcery, LLC