Re: btowc problem
Eli Zaretskii <eliz-mXXj517/[email protected]> Wed, 01 Jul 2020 18:01:20 +0300
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Message-ID | <[email protected]> |
> From: Keith Marshall <[email protected]> > Date: Tue, 30 Jun 2020 22:29:44 +0100 > > Do the attached libmsvcrt.a, (and its debug-enabled libmsvcrtd.a), > mitigate the problem, if you drop them into your $MINGW_ROOT/lib > directory, in place of the existing versions? It causes undefined externals at link time: CXX server.o CXXLD gdbserver.exe d:/usr/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: d:/usr/lib/libiconv.a(iconv.o):iconv.c:(.text+0xbbd1): undefined reference to `wcrtomb' d:/usr/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: d:/usr/lib/libiconv.a(iconv.o):iconv.c:(.text+0xbebe): undefined reference to `mbrtowc' collect2.exe: error: ld returned 1 exit status Makefile:349: recipe for target `gdbserver.exe' failed Note that these two functions were the ones that gdbserver.exe is looking for (and not finding) in MSVCRT.DLL when gdbserver is linked with the original libmsvcrt.a from mingwrt 5.3.1. Thanks. _______________________________________________ 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