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: dj at redhat dot com (DJ Delorie)
- Subject: Re: gengenrtl needs to link with libintl
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 12 Nov 2001 19:01:45 -0500 (EST)
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
> > Thus, I think we should undefine ENABLE_NLS rather than HAVE_LIBINTL_H
> > to disable NLS when building generator files. However, configure for
> > libiberty needs to be modified to add an `--enable-nls' option.
>
> Patches welcome. It won't fix the bug, but it should avoid it.
Zack sent a patch to mkconfig.sh to turn off HAVE_LIBINTL_H when
building generator files. I am currently testing it. It could just
as easily undefine ENABLE_NLS.
> > Similar patches should be done for getopt.c and regex.c which also
> > may use NLS.
>
> I've a pending regex.c merge from glibc that adds ENABLE_NLS.
As noted an later email, glibc also adds ENABLE_NLS to getopt.c and
obstack.c. So, it would be great if you could merge these as well.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)