在 2026-5-21 22:23, Liaiss Merzougue 写道:
Hi LIU Hao,

The \r characters do not come from the .def.in <http://def.in> files — I 
checked and they
use LF line endings. The issue is specific to building in a Cygwin
environment, where the preprocessor emits \r characters in its output.

I am still unable to reproduce this issue on a freshly installed Cygwin. Using these commands to build the CRT, lib64/ws2_32.def is created with LF line endings:

   /cygdrive/d/lh_mouse/SourceForge/mingw-w64/mingw-w64-crt/configure  \
       --build=x86_64-pc-cygwin --host=x86_64-w64-mingw32  \
       --prefix=/usr/x86_64-w64-mingw32/sys-root/mingw  \
       --enable-lib64 --disable-lib32  \
       --disable-dependency-tracking
   make -j32




--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to