Re: btowc problem

Eli Zaretskii <eliz-mXXj517/[email protected]> Fri, 10 Jul 2020 15:22:00 +0300
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <[email protected]>
> From: Keith Marshall <[email protected]>
> 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.

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe