This is the mail archive of the
mailing list for the binutils project.
Re: libintl not provided ?
On Mar 15, 2012, at 9:57 AM, Kai Tietz wrote:
> 2012/3/15 Tristan Gingold <firstname.lastname@example.org>:
>> On Mar 15, 2012, at 9:46 AM, Vincent Torri wrote:
>>> I'm using libbfd with the mingw-w64 toolchain. I'm getting
>>> libintl_dgettext undef ref. No liobintl library is available in the
>>> mingw tree. Kai Tietz just told me that libbdf is coming from binutils
>>> and it's certainly a bug from te binutils side, which is not providing
>> libintl is provided with the sources of binutils (in intl/ subdir).
>> If you are using the binary version of libbfd, did you try to link with -lintl ?
>> Or maybe libintl.a was not installed in the mingw-w64 toolchain.
>> Looks like a mingw-w64 issue, not a binutils one.
> Well, I would have assumed so, too. But I noticed that intl.h gets
> installed for this build, but libintl.a isn't. Either packager of
> this build did something wrong (which might be), or the library isn't
> installed by binutils.
I suppose that intl.h is a typo for libintl.h
According to intl/Makefile.in, libintl is not installed:
# The installation targets have been disabled.
install: install-exec install-data
So your libintl.h doesn't come from binutils (apparently).
(I haven't check how things work when a libbfd all is built with the libintl
provided by binutils. There might be an hole here).