[Bug libstdc++/11074] libstdc++ fails to build due to gettext issue

tim dot vanholder at anubex dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 20 08:15:00 GMT 2005


------- Additional Comments From tim dot vanholder at anubex dot com  2005-04-20 08:14 -------
This is still present.
I've now patched acinclude.m4 to detect the library properly (will add as
attachment); it's not ideal but it seems to work.

Also, like I feared, it introduces a dependency on libintl.so when building C++
programs - and g++ does not know to add libintl when linking. As a result,
failures are reported by autoconf tests that check whether the compiler can
produce executables.

Because of the latter, either gcc needs to duplicate some of the libstdc++
configury so that it can add -lintl (and -liconv where applicable) to its g++
link (and this seems a less-than-optimal thing to do), or libstdc++ needs to
improve its i18n checks (ideally using the regular gettext macros, and perhaps
rejecting any solution that requires extra libraries).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11074



More information about the Gcc-bugs mailing list