[Mingw-users] btowc problem

Zurück zum Archiv-Index
Eli Zaretskii eliz****@gnu*****
Fri Jul 10 21:22:00 JST 2020


> From: Keith Marshall <keith****@users*****>
> Date: Wed, 8 Jul 2020 12:13:47 +0100
> 
> On 06/07/2020 16:24, Keith Marshall wrote:
> > I'll update the mingw-get online catalogue later today, then I'll strip
> > out the weak aliases, and publish wsl-5.4 later this week.
> 
> wsl-5.4 is now available on FRS; please test.

Thanks for a quick and efficient fix.

MinGW runtime 5.4 looks good: it passes all of my tests (building
hello.c, Emacs, and Gawk), and almost succeeds in building the current
snapshot of GDB, where there's this single problem:

    CXXLD  gdb.exe
  d:/usr/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: d:/usr/bin/../lib/gcc/mingw32/9.2.0\libstdc++.a(codecvt_members.o):(.text$_ZNKSt7codecvtIwciE6do_outERiPKwS3_RS3_PcS5_RS5_+0xac): undefined reference to `__msvcrt_wcrtomb'
  d:/usr/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: d:/usr/bin/../lib/gcc/mingw32/9.2.0\libstdc++.a(codecvt_members.o):(.text$_ZNKSt7codecvtIwciE6do_outERiPKwS3_RS3_PcS5_RS5_+0x111): undefined reference to `__msvcrt_wcrtomb'

So it looks like the 5.3.x functions are referenced by libstdc++ from
GCC 9.2.0 distribution, and that library (and possibly others which
come with GCC) need to be refreshed as well.

I don't see a new gcc-core-9.2.0-1-mingw32-bin.tar.xz on the MinGW
download site.



More information about the MinGW-Users mailing list
Zurück zum Archiv-Index