<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#cccccc" text="#000000">
<tt>Hi!<br>
<br>
Although the Gambit compiler is quite cool (especially I like code
performance, that it produces :-) ), it has a few quirks and I tried to
fix them.<br>
<br>
I have Visual Studio 2003 and wanted to build Gambit-C with it. So I
downloaded the gambc-v4_1_2.tgz package, and of course it didn't
compile out of
box, because there is no ready to use "gambit.h" in the package,
because "gambit.h" should be generated with "configure". Ok, I've
downloaded and installed
msys (only, i.e. without mingw), and run the usual sequence:<br>
</tt>
<blockquote><tt>> sh </tt><br>
  <tt>sh-2.04$ configure</tt><br>
  <tt>sh-2.04</tt><tt>$ </tt><tt>make</tt><br>
  <tt>sh-2.04</tt><tt>$ make </tt><tt>install<br>
  </tt></blockquote>
<tt>The resulting distribution is working fine, except one thing.
gsc.exe and gsi.exe are opening new console window and the window
immediately disappears after gs(c|i) finishes. In case of some errors
it is impossible to catch the error messages. Even piping (gsc ... >
out.txt) doesn't help, "out.txt" just doesn't being created.<br>
<br>
Previously, I've compiled version 4.1.0 and it built under VS2003
without single problem. So I decided to compile version 4.1.2 under VS
too but it fails to compile. <br>
<br>
After some investigation I created new Visual Studio project files, and
with them everything goes ok. I created two additional projects,
~~/gsc/libgsc.vcproj and ~~/gsi/libgsi.vcproj with the following
dependence graph:<br>
</tt>
<blockquote><tt>lib -> gsc</tt><br>
  <tt>libgsc -> gsc</tt><br>
  <tt>lib -> gsi</tt><br>
  <tt>libgsi -> gsi</tt><br>
</blockquote>
<tt>Please, see the attachment with new project files.<br>
<br>
Best regards,<br>
Nick.<br>
<br>
ps: What is six.exe and how to build it?<br>
</tt>
</body>
</html>