Subject: Re: troubles with lang/gcc3 on linux/i386
To: None <>
From: Sebastian Prause <>
List: tech-pkg
Date: 11/30/2003 16:15:12
> (but i didn't use it yet, so i have no idea if it is working or not :)

it doesn't. the problem is that the libstdc++ isn't linked with libintl, and therefore, doesn't
have an implementation of `libintl_bindtextdomain', `libintl_gettext' and `libintl_textdomain'.

as a workaround i simply linked libstdc++ to libintl, and that seems to be fine (patches below),
but i am unable to supply a fix for configure/autotools to catch those situations up.

--- libstdc++-v3/src/        2003-03-17 20:07:39.000000000 +0100
+++ libstdc++-v3/src/    2003-11-29 18:16:23.000000000 +0100
@@ -305,7 +305,7 @@
 DEFS = @DEFS@ -I. -I$(srcdir) -I..
+LIBS = @LIBS@ -lintl
 libstdc___la_OBJECTS =  bitset.lo codecvt.lo complex_io.lo \
 concept-inst.lo ctype.lo ext-inst.lo fstream.lo fstream-inst.lo \
 functexcept.lo globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo \

a also added .include "../../devel/gettext-lib/" to the Makefile, but i works
without that, too

(Note that i tested this with lang/gcc3-c++ and not lang/gcc3, but i think it should
work there, too)