This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: gengenrtl needs to link with libintl

[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.


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