bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Remove dependency on libgcc_s_sjlj-1.dll for 32bit Windows


From: Michele Locati
Subject: [bug-gettext] Remove dependency on libgcc_s_sjlj-1.dll for 32bit Windows builds of libintl-8.dll
Date: Mon, 24 Sep 2018 11:44:18 +0200

Hi all,

I'd like to build a Windows version of libintl without a dependency on libgcc_s_sjlj-1.dll.

I tried [1] to:
- specify static-libgcc in the LDFLAGS
- running configure with --enable-static='libgcc,libstdc++'
- running configure with --enable-static='libgcc,libstdc++' LDFLAGS='-static-libgcc -static-libstdc++'

but none of the above approaches solved the issue.

The only solution I'm aware of (found by k-takata [2]), is to patch gettext-runtime/intl/Makefile.in by replacing
LIBS = @LIBS@
with
LIBS = @LIBS@  -XCClinker -static-libgcc

but I'm pretty sure there's a better alternative I'm not aware of...

Any hint?

..
Michele

[1]
https://github.com/vim/vim-win32-installer/pull/20
[2]
https://github.com/mlocati/gettext-iconv-windows/issues/8

reply via email to

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