On Tue, May 16, 2023 at 9:43 AM LIU Hao <[email protected]> wrote: > > Would you please more details about this error? Did you build toolchains > yourself? AFAICT MSYS2 > doesn't have cross toolchains for x86_64-*-elf at the moment. > This error is because the just built gcc/binutils binaries's are text mode, default in msvcrt.dll and ucrtbase.dll, it corrupts libgcc's object files.
I've tested today, LDFLAGS only needs binmode.o LDFLAGS+=" -Wl,$(gcc -print-file-name=binmode.o)" The problem has nothing to do with commode.o. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
