gengenrtl needs to link with libintl
DJ Delorie
dj@redhat.com
Thu Nov 1 23:20:00 GMT 2001
> Do you think configure should support HAVE_LIBINTL_H?
For libiberty, the problem is three times harder, because libiberty is
built for the host (like gcc), for the target (like libstdc++), and
soon for the build. To properly support libintl, we'd need three
configure flags: --enable-nls --enable-target-nls --enable-build-nls.
And probably a much more complicated configury (mostly because of the
target-side build).
> Another option to prevent the interaction with gcc's config.h and
> any other package which uses libiberty might be to unconditionally
> disable the HAVE_LIBINTL_H (NLS) code in these functions.
That would make libiberty diverge from glibc, so I'd rather avoid
that. In fact, I'm working on converging them again. The problem
with gcc's config.h doesn't affect other packages, because they don't
do what gcc does (namely, build a build-obstack.o with a
host-config.h). What gcc needs is a build-side libiberty. Until
then, the ENABLE_NLS and/or Zack's config.h patches give us a
workaround.
More information about the Gcc-bugs
mailing list