Hello,

I hope you can help me with this question: I would like to know what is
the latest version of Guile that runs well on Windows using MinGW64 as
the toolchain/environment (i.e., a "truly native" build, without Cygwin
or MSYS runtime but instead using the MSVCRT or UCRT runtimes provided
by Windows).

The context is that GDB currently supports being built with Guile 2.0,
2.2 and 3.0 but we are considering dropping support for 2.0 to simplify
the code. The discussion is here, if you're interested:

https://inbox.sourceware.org/gdb-patches/[email protected]/

A question came up of whether Guile >= 2.2 works well on Windows using
MinGW. We are aware that 2.0 does, but not sure about later versions.
So dropping Guile 2.0 could mean dropping support for GDB's Guile API on
Windows.

As a first approximation, I tried cross-building 3.0.10 and 3.0.11 from
Linux using x86_64-w64-mingw32-gcc but libguile/filesys.c fails to
compile because of the lack of open64, lstat64, readdir64. I tried
configuring with --disable-posix but the result was the same.

I also tried to cross-build Guile 2.2.7 because that would be good
enough for our purposes, but it also fails to build for a different
reason (redefinition of struct pollfd in poll.h).

I see that the 3.0.11 release notes mention some MinGW fixes, and I also
see on this list some emails from this year with mentions of building on
Windows with MinGW so it looks like people are using Guile 3.0 with
MinGW?

Also, I see that LilyPond releases Windows binaries. As another data
point on this question, do you know whether it uses MinGW for its
builds, and which Guile version it ships?

Thanks!

-- 
Thiago

PS: Please keep me in cc: because I'm not subscribed to the list.


Reply via email to