bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] libintl dependency on libgcc


From: Bruno Haible
Subject: Re: [bug-gettext] libintl dependency on libgcc
Date: Sun, 19 May 2019 02:07:15 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

Michele Locati wrote:
> I tried to configure gettext with -D__USE_MINGW_ANSI_STDIO=0, and
> something changed.
> 
> Previous dependencies (without -D__USE_MINGW_ANSI_STDIO=0)
> 
> - libgcc_s_sjlj-1.dll required by
>   - bin\libgettextlib-0-20-1.dll
>     imported functions: __divdi3, __udivdi3, __umoddi3
>   - bin\libgettextpo-0.dll
>     imported functions: __udivdi3, __umoddi3
>   - bin\libgettextsrc-0-20-1.dll
>     imported functions: __udivdi3, __umoddi3
>   - bin\libintl-8.dll
>     imported functions: __udivdi3, __umoddi3
>   - bin\libstdc++-6.dll
>   - bin\libtextstyle-0.dll
>     imported functions: __divdi3, __udivdi3, __umoddi3
>   - bin\msggrep.exe
>     imported functions: __udivdi3, __umoddi3
> - libstdc++-6.dll required by
>   - bin\xgettext.exe
>     imported functions: __cxa_guard_acquire, __cxa_guard_release
> 
> New dependencies (with -D__USE_MINGW_ANSI_STDIO=0)
> 
> - libgcc_s_sjlj-1.dll required by
>   - bin\libgettextlib-0-20-1.dll
>     imported functions: __udivdi3, __umoddi3
>   - bin\libgettextpo-0.dll
>     imported functions: __udivdi3
>   - bin\libstdc++-6.dll
> - libstdc++-6.dll required by
>   - bin\xgettext.exe
>     imported functions: __cxa_guard_acquire, __cxa_guard_release

> 
> So, it doesn't resolve all the dependencies, nevertheless it's a great
> hint: thank you Bruno and Vincent!

Very interesting! I have included this customization to the build of
libintl, libasprintf, and libtextstyle.
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=45500ab1765581d6a3b7d2e6a6c2595466de70af
These libraries no longer depend on libgcc_s_sjlj-1.dll.

I have NOT applied it to the executables, some of which depend on libstdc++
anyway.

I have also NOT applied it to libgettextlib and libgettextsrc, because
these libraries are not used by other packages.

Bruno




reply via email to

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