[Mingw-w64-public] [PATCH] Fix binmode.o and add commode.o

2023-05-15 Thread LIU Hao
These are easy fixes. Haven't tested them though, I will do that later today. 'binmode.o' and 'txtmode.o' are not named like the other object files e.g. 'CRT_glob.o'. Should they be renamed as such? -- Best regards, LIU Hao From 64c58fbf4bf0b6843e80454c62079f195cb58173 Mon Sep 17 00:00:00 2001

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

Re: [Mingw-w64-public] [PATCH] gdtoa: Sync to match the latest version at netlib.org

2023-05-15 Thread Jameson Nash
David (the gdtoa author) got back to me and confirmed this is an upstream bug, and that my fix attached previously was the right one. He is trying to get that fix uploaded to the right ftp server soon. For future mingw-w64 reference, my change-controlled copy of his current tarball is updated here

[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