To the best of my experience, calling the vcvars bat file prior to getting into Gambit (or at least, prior to any Visual C compiler executable invocation) is vital to Gambit C file compilation success when using VC, as well as for the compilation of pretty much any other C file too btw.
After removing call "C:\Program Files\Microsoft Visual Studio
9.0\VC\bin\vcvars32.bat", calling misc/vs2008.bat in gambc-v4_6_6 sources
from VS2010 command prompt gives these errors for gsc:
_gambcgsc.obj : error LNK2001: unresolved external symbol
_____20___t_2d_univ
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___codegen
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___x86
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___asm
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___assert
gsc.exe : fatal error LNK1120: 5 unresolved externals
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list