This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC can't stop using GNU libiconv if it's in /usr/local
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 16 Jan 2006 16:31:04 -0800
- Subject: Re: GCC can't stop using GNU libiconv if it's in /usr/local
- References: <200601170022.k0H0MS1V005367@caipclassic.rutgers.edu>
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.