This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] use AM_ICONV
- From: Marco Trudel <mtrudel at gmx dot ch>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Sat, 03 Feb 2007 15:01:15 +0100
- Subject: Re: [v3] use AM_ICONV
- References: <45C35F1B.1020904@gmx.ch> <45C3A51E.6030601@redhat.com> <45C46456.3000408@gmx.ch>
Marco Trudel wrote:
Benjamin Kosnik wrote:
How to disable iconv now? Is it now always required?
Yeah.
Ok, if it's now a requirement, then it should be added to
http://gcc.gnu.org/install/prerequisites.html. Because it isn't there, I
assumed that configure fails detecting if it is available or not.
Also, from http://gcc.gnu.org/install/configure.html:
--with-libiconv-prefix=dir
Search for libiconv header files in dir/include and libiconv
library files in dir/lib
That seems to not be used. I have to do some dirty workarounds that my
cross-libiconv is used. Otherwise I can now compile again.
Is there another flag than --with-libiconv-prefix? For consistency, I
would expect --with-iconv=... (because of --with-gmp=... and
--with-mpfr=...) or is --with-libiconv-prefix currently just "broken"?
thanks
Marco
I suppose adding _GLIBCXX_HAVE_ICONV guards in
include/ext/enc_filebuf.h and include/ext/codecvt_specializations.h
may be necessary, or these two files should be dropped from the
extc++.h pre-compiled header file.
Well, if it is a requirement now, I will see that I have it...
thanks
Marco