This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gengenrtl needs to link with libintl
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: gengenrtl needs to link with libintl
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Mon, 12 Nov 2001 14:00:38 -0800
- Cc: gcc-bugs at gcc dot gnu dot org, dave at hiauly1 dot hia dot nrc dot ca
- References: <200111070241.SAA03823@wilson.cygnus.com>
[Get raw message]
Can you please try this patch? I do not have access to a machine that
exhibits the problem.
Best to wipe out your build tree and start over after applying the patch.
zw
===================================================================
Index: mkconfig.sh
--- mkconfig.sh 2001/08/13 15:52:19 1.6
+++ mkconfig.sh 2001/11/12 22:00:10
@@ -67,6 +67,12 @@ case $output in
;;
esac
+# Prevent obstack.c from thinking it can do i18n of its error message
+# when it's being linked against a build-side program.
+echo '#ifdef GENERATOR_FILE'
+echo '# undef HAVE_LIBINTL_H'
+echo '#endif'
+
) > $output.T
# Avoid changing the actual file if possible.