[gambit-list] Building Gambit on windows

C K Kashyap ckkashyap at gmail.com
Wed Jan 18 18:37:55 EST 2017


Hi all,

I was able to get Gambit to build on windows - I tried initially with msys2
(hoping to build a 64bit version) - but failed -

$ make install
making all in include
make[1]: Entering directory '/home/ckk/gambit/include'
make[1]: Leaving directory '/home/ckk/gambit/include'
making all in lib
make[1]: Entering directory '/home/ckk/gambit/lib'
../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c  -check
-prelude "(##include \"header.scm\")" _repl.scm
make[1]: *** [makefile:167: _repl.c] Segmentation fault
make[1]: *** Deleting file '_repl.c'
make[1]: Leaving directory '/home/ckk/gambit/lib'
make: *** [makefile:417: all-recursive] Error 1


After that, I tried using VS 2015 (unzipped vstudio.zip -- opened the sln -
but did not succeed)

Eventually, I tried with mingw (from mingw.org) -

./configure; make -j4 latest-release ; ./configure --prefix=/GAMBITSCHEME
--enable-single-host; make -j4 from-scratch
; make check; make -j4 doc; make install

The above resulted in GAMBITSCHEME getting created under / ->
under C:\MinGW\msys\1.0 that is .... however I got this error -

$ gsc -exe hello.scm
*** ERROR IN ##parameterize -- No such file or directory
(current-directory "\\GAMBITSCHEME\\bin\\")


So, I copied the whole GAMBITSCHEME director under C:\ and wala!!! things
worked (I now have a working gambit compiler on my windows box - where I
need to spend a lot of time). I am sharing this just in case anyone finds
this useful. I am going to try to use the prebuilt 64 bit windows build (I
had tried it earlier but had run into some issues)


Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20170118/7df9d145/attachment.htm>


More information about the Gambit-list mailing list