Hi Bruno,
I was experimenting with Windows recently after the recent gperf thread.
In a "MSYS2 MINGW64" window I found that a gnulib testdir of all modules
fails to build due to the following assertion in fenv-env.c:
verify (sizeof (fenv_t) >= sizeof (x86_387_fenv_t));
Upon investigating, I found that MingGW-w64 had changes to fenv.h and
it's functions ~2 months ago [1].
I'm letting you know since I assume Cygwin's MinGW will have these
changes at some point in the future. Here are my compiler versions for
reference:
# MSYS2
$ x86_64-w64-mingw32-gcc --version | sed 1q
x86_64-w64-mingw32-gcc.exe (Rev3, Built by MSYS2 project) 14.2.0
# Cygwin
$ x86_64-w64-mingw32-gcc --version | sed 1q
x86_64-w64-mingw32-gcc (GCC) 12.4.0
I can look at porting it but I have no knowledge of x86 floating point,
so it will likely take me much more time than you. :)
Collin
[1]
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/5c5973cf5f021db8fd75e9667e63881ccd169320