bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building gettext/0.10.39 on IRIX


From: Bruno Haible
Subject: Re: Building gettext/0.10.39 on IRIX
Date: Tue, 4 Sep 2001 23:23:02 +0200 (CEST)

David Kaelbling writes:

> I just build gettext/0.10.39 for SGI IRIX 6.5, and noticed that the code
> is using gcc-style "#pragma weak" everywhere.  I've attached some
> patches for using the SGI MipsPRO style pragmas too.

"#pragma weak" is useful when you have different shared libraries
defining the same symbols, and you want the first one to be hidden
behind the second one.

If your patches are for building an IRIX libc which includes libintl,
then please resend your patch with a different #if condition. The
"defined(__sgi)" is also valid when compiling libintl.so. If your
patch shall make sense, then the symbols must be weak in libc and
strong in libintl.

If your patches are not for building an IRIX libc, only for regular
libintl.so, then there is no point in them. Because a user who doesn't
want libintl's functions can simply not link with libintl.so.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]