Finally i have success :)<br><br>This .sh file compiles w/o problems<br>------------------------------------------------------------<br>export GAMBCDIR_INCLUDE=/usr/local/Gambit-C/include/<br>export GAMBCDIR_LIB=/usr/local/Gambit-C/lib<br>

gsc -link t.scm<br>export BUILD_EXE_OUTPUT_FILENAME=t.exe<br>export BUILD_EXE_INPUT_FILENAMES="t.c t_.c"<br>sh gambc-cc.bat exe<br>------------------------------------------------------------<br>
<br>Important: BUILD_EXE_INPUT_FILENAMES should be between quotes. The 'sh' required before gambc-cc.bat<br><br>Anyway using gambc-cc.bat directly is not the right way i believe.<br>