[Converted from Gnats 1753] http://sources.redhat.com/ml/gdb/2004-08/msg00238.html I just did: ../gdbcvs/src/configure --build=i686-pc-linux --host=mipsel-linux --target=mipsel-linux from gdb_6_2-branch of today. I get this when doing make : . . . 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 I know that placing this line: bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} in readline's config.cache will work around, but isn't it about time that someone fixed readline's configure? David Daney Release: gdb gdb_6_2-branch 2004-08-19 Environment: build=i686-pc-linux-gnu host=mipsel-linux target=mipsel-linux
Fix: http://sources.redhat.com/ml/gdb/2004-08/msg00240.html readline's configure no longer calls AC_TRY_RUN in readline 5.0. So when gdb imports that, the problem should be fixed. Michael Chastain
We're on readline 5.1 for a couple of years now.