> > 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.
Thanks Joe. But I want GCC to use the *system* iconv. Using with-libiconv-prefix=/usr won't work because there's no way to get GCC to ignore /usr/local/include where the GNU libiconv iconv.h lives. And there's no libiconv.so in /usr/lib, just libc.so which contains the iconv*() function calls. IMHO, the fact that GCC includes /usr/local/include by default in it's system header search path is brain damaged, but it's probably way too entrenched to revisit that. :-( --Kaveh -- Kaveh R. Ghazi [EMAIL PROTECTED]