Re: [Mingw-w64-public] About binmode.o and commode.o

2023-05-15 Thread 徐持恒 Xu Chiheng
On Tue, May 16, 2023 at 9:43 AM LIU Hao 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. > Yes, I do build the toolchain myself. the scripts are upload to github. https://g

Re: [Mingw-w64-public] About binmode.o and commode.o

2023-05-15 Thread 徐持恒 Xu Chiheng
On Tue, May 16, 2023 at 9:43 AM LIU Hao 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, defau

Re: [Mingw-w64-public] About binmode.o and commode.o

2023-05-15 Thread LIU Hao
在 2023/5/16 00:16, 徐持恒 Xu Chiheng 写道: Hi, dear friends, When compiling GNU cross toolchain on MSYS2/MinGW-w64. I encounter the following problem: E:\Note\Tool\gcc-x86_64-elf-release-install\x86_64-elf\bin\ar.exe: libgcov.a: error reading _gcov_merge_add.o: file truncated Would you please more

[Mingw-w64-public] About binmode.o and commode.o

2023-05-15 Thread 徐持恒 Xu Chiheng
Hi, dear friends, When compiling GNU cross toolchain on MSYS2/MinGW-w64. I encounter the following problem: E:\Note\Tool\gcc-x86_64-elf-release-install\x86_64-elf\bin\ar.exe: libgcov.a: error reading _gcov_merge_add.o: file truncated make[1]: *** [Makefile:939: libgcov.a] Error 1 make[1]: *** Wai