https://sourceware.org/bugzilla/show_bug.cgi?id=14779
Antoine Leca <antoine64leca at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antoine64leca at hotmail dot com --- Comment #8 from Antoine Leca <antoine64leca at hotmail dot com> --- (In reply to Jan Smets from comment #7) > I think this broke cross compilation for i386-mingw (gcc 3.4) > > readelf.o: In function `print_symbol': > binutils-2.23.2/binutils/readelf.c:469: undefined reference to `_mbrtowc' Solved for me. As made clear in MingW's include/wchar.h /* These are resolved by -lmingwex. Alternatively, they can be resolved by adding -lmsvcp60 to your command line, which will give you the VC++ versions of these functions. If you want the latter and don't have msvcp60.dll in your windows system directory, you can easily obtain it with a search from your favorite search engine. */ Earlier (obsolete) versions of Mingw-rt did not mention -lmingwex. Adding LIBS=-lmsvcp60 in the binutils/Makefile did the job for me. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils