[gambit-list] Gambit Cygwin package

Nathan Thern nthern at gmail.com
Fri Oct 31 11:02:11 EDT 2008


On Thu, Oct 30, 2008 at 8:24 PM, Mikael More <X at X> wrote:
> Hi!
> Thank you for porting Gambit into Cygwin!
http://www.liquid.spod.org/~nthern/cygwin/

> Although, on my machine, I didn't get it running, neither the package
> (compile-file complains it can't start external process) nor the Gambit
> sources (compile-file and shell-command fire cmd.exe instead of /bin/sh,
> even though i updated COMSPEC and SHELL environment variables).
> I just wanted to check with you if you know how to get it going.
> Thanks!
>
> Mikael

Interesting. All my testing so far consisted of calling "gsc -link
foo.scm" to create c files and then compiling them with "gcc ...".
Plain old "gsc foo.scm" does indeed exhibit the behavior you
described. Are you able to run "gsc -link foo.scm"? If so, then I
would say you at least "got it running".

Not sure where the problem lies. Since the cygwin system call API is
POSIX compliant, I'm going to guess that it's a configuration script
problem. That is, I'm guessing that somewhere configure assumes
something like "if we have windows.h then without exception make all
system calls through cmd.exe". I'm looking in the source but haven't
found it yet.



More information about the Gambit-list mailing list