Great: I finally found it as you said in in MSYS2: libintl.a (and libintl.h too)
But that doesn't seem sufficient: when I compile and link a simple program calling gettext(), I get a linking error :
Program:
#include "libintl.h" int main() { gettext("abc"); }
Compiling:
C:\Users\Moi\strawberry-perl-5.28.1.1-64bit-portable\Moi\test>gcc -o t +est test.c C:\Users\Moi\AppData\Local\Temp\ccCWWHXa.o:test.c:(.text+0x15): undefi +ned reference to `libintl_gettext' collect2.exe: error: ld returned 1 exit status
I'm puzzled for now...
BTW, the module I want to get working is Locale::gettext which does exactly what I need under Linux and macOS.
I tried the Gido's pure Perl version of Locale::gettext_pp but his code doen't understand the windows pseudo-locale so it doesn't work.
PS: before, I hated Windows but I think now I abhor it! :-(
In reply to Re^2: libintl.a for Strawberry Perl
by fdesar
in thread libintl.a for Strawberry Perl
by fdesar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |