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


> > 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)


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