Hi!
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.
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:
> sh
sh-2.04$ configure
sh-2.04$ make
sh-2.04$ make install
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.
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.
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:
lib -> gsc
libgsc -> gsc
lib -> gsi
libgsi -> gsi
Please, see the attachment with new project files.
Best regards,
Nick.
ps: What is six.exe and how to build it?