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
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: zack at codesourcery dot com (Zack Weinberg)
- Cc: wilson at cygnus dot com, gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Nov 2001 15:26:21 -0500 (EST)
- Subject: Re: gengenrtl needs to link with libintl
[Get raw message]
> > DJ may do a merge from glibc. If he does, then I think ENABLE_NLS should
> > be undefined rather than HAVE_LIBINTL_H.
>
> Should I hold off for this merge, or apply the patch now and we can
> change it later if DJ does his merge?
>From my look at the current glibc code, undefining either HAVE_LIBINTL_H
or ENABLE_NLS will disable NLS and resolve the problem. The problem
only arises because obstack.c is built with gcc's config.h. Maybe
the correct approach is to undefine both as we don't really want either
of these defined when building generator programs. The merge isn't going
to affect things, so my opinion is there no reason to wait.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)