Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GNU Guile Scheme on Windows

I want to install the gnu guile scheme on Windows.

However, I am lost. There isn't a clear guide on how to do that. Most of the methods I found are for macOS, FreeBSD and Linux-based OS which in all of them is a simple command.

Help!

Thank you for your time.

like image 423
Raed Addala Avatar asked Oct 16 '25 20:10

Raed Addala


1 Answers

You can use msys2.

install msys2.

Then simply do: pacman -S guile

-------

However if you want native guile on windows, there is a trick. (This is a fork of guile)

pacman -Syu base-devel autotools gettext-devel pactoys git --needed --noconfirm
git clone -b wip-mingw https://github.com/lyrra/guile.git
cd guile
pacboy -S cc:p gperf:p libunistring:p sccache:p gc:p --needed --noconfirm
./autogen.sh
mkdir build && cd build
CC="sccache cc" CXX="sccache c++" ../configure --enable-mini-gmp --enable-jit=no --with-threads  --enable-guile-debug --with-bdw-gc=bdw-gc
make -j

In case this is out of date, just rebase with the guile upstream and compile again..

like image 98
Rainb Avatar answered Oct 19 '25 14:10

Rainb