This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: libintl not provided ?
2012/3/15 Tristan Gingold <gingold@adacore.com>:
>
> On Mar 15, 2012, at 9:46 AM, Vincent Torri wrote:
>
>> Hey
>>
>> 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
>> it.
>
> 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.
>
> Tristan.
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.
Regards,
Kai