I have tried different repositories:
- https://github.com/texmacs/guile (install dep and run as guide, could not compile)
/bin/sh ../libtool --tag=CC --mode=link gcc -I/mingw32/include -g -O2 -Wall -Wmissing-prototypes -I/mingw32/include -o guile.exe guile-guile.o libguile.la -lregex -lgmp -lws2_32 -lm -lltdl
libtool: link: gcc -I/mingw32/include -g -O2 -Wall -Wmissing-prototypes -I/mingw32/include -o .libs/guile.exe guile-guile.o ./.libs/libguile.a -L/mingw32/lib -lintl -lregex -lgmp -lws2_32 -lltdl
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: guile-guile.o: in function `inner_main':
C:\msys64\home\Me\guile-1.8.8\libguile/guile.c:53: undefined reference to `_imp__scm_shell'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: guile-guile.o: in function `main':
C:\msys64\home\Me\guile-1.8.8\libguile/guile.c:63: undefined reference to `_imp__scm_boot_guile'
- https://github.com/slowphil/mingw-w64-guile1.8 (segmentation fault, disable warning in PKGBUILD file)
With the latest MSYS2, I either couldn’t compile it successfully, or I compile successfully but the binary reports segmentation fault.
Would appreciate anyone to shed some lights on this