This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libintl not provided ?


On Mar 15, 2012, at 9:57 AM, Kai Tietz wrote:

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

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
install-exec: all
install-data: all
install-strip: install

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

Tristan.


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