This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] use AM_ICONV


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]