On Mon, Jan 16, 2006 at 07:22:28PM -0500, Kaveh R. Ghazi wrote: > I'm trying to bootstrap various GCC branches with --disable-nls on a > system where the admin installed GNU libiconv in the default directory > for GNU software, namely /usr/local.
I had a similar issue a while back: http://gcc.gnu.org/ml/gcc/2005-04/msg01092.html The logic for finding libiconv seems broken if it is in /usr/local. That was before the new bootstrap setup, which might make it worse. > When I add --without-libiconv-prefix, it seems to avoid finding > libiconv.so during configure in stage1, but it still uses the wrong > iconv.h as of stage2. And with mainline, since configure is run every > stage it gets worse. > > Any ideas? Make an explicit with-libiconv-prefix pointing to a working libiconv.