Marc Feeley feeley@iro.umontreal.ca writes:
There is a sample makefile in misc/simple-make-project.tgz in the Gambit distribution. It shows one way to write a makefile for separately compiling a project containing Scheme code and C code.
The file 'main.c' from 'misc/simple-make-project.tgz' has ___VERSION set to 406000 at 'gambc-v4_6_1-devel.tgz' distribution, so gsc refuses to build it.
Changing to 406001 fixes it.