[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] libintl dependency on libgcc
From: |
Michele Locati |
Subject: |
Re: [bug-gettext] libintl dependency on libgcc |
Date: |
Tue, 14 May 2019 15:34:11 +0200 |
Il giorno mar 14 mag 2019 alle ore 05:41 Vincent Torri
<address@hidden> ha scritto:
>
> On Tue, May 14, 2019 at 12:34 AM Bruno Haible <address@hidden> wrote:
> >
> > Hi Michele,
> >
> > > While compiling gettext 0.20.1 for 32-bit Windows (with
> > > --enable-shared --disable-static), I've noticed that libintl-8.dll
> > > depends on libgcc_s_sjlj-1.dll.
>
> with mingw-w64, __mingw_**printf are "activated" only if
> __USE_MINGW_ANSI_STDIO is defined, otherwise, these functions are
> those of MSVCRT.DLL
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
- libwinpthread-1.dll required by
- bin\libgettextlib-0-20-1.dll
imported functions: clock_gettime
- bin\libstdc++-6.dll
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
- libwinpthread-1.dll required by
- bin\libgettextlib-0-20-1.dll
imported functions: clock_gettime
- bin\libstdc++-6.dll
So, it doesn't resolve all the dependencies, nevertheless it's a great
hint: thank you Bruno and Vincent!
> > 20 years ago, mingw started out as a minimal layer on top of the Windows
> > + MSVCRT API. Nowadays, this layer does not seem to be minimal any more...
... good old days ;)
--
Michele
- [bug-gettext] libintl dependency on libgcc, Michele Locati, 2019/05/13
- Re: [bug-gettext] libintl dependency on libgcc, Bruno Haible, 2019/05/13
- Re: [bug-gettext] libintl dependency on libgcc, Vincent Torri, 2019/05/13
- Re: [bug-gettext] libintl dependency on libgcc, Michele Locati, 2019/05/14
- Re: [bug-gettext] libintl dependency on libgcc, Bruno Haible, 2019/05/18
- Re: [bug-gettext] libintl dependency on libgcc, Vincent Torri, 2019/05/18
- Re: [bug-gettext] libintl dependency on libgcc, Bruno Haible, 2019/05/19