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.<div>

<br></div><div>Why do you use misc/vs2008.bat, doesn't the Gambit-VC binary distro use CL appropriately in gambc-cc.bat as used by |compile-file| already?</div><div><br></div><div>(As of currently I'm unaware of what misc/vs2008.bat is for, if you are please feel free to share.)</div>

<div><br></div><div>Generally the Mingw Gambit distro gives you a smoother experience, if it's good for your needs (which it ought to, I suppose), you can consider it.<br><br><div class="gmail_quote">2012/6/16 Cristian Baboi <span dir="ltr"><<a href="mailto:cristian.baboi@gmail.com" target="_blank">cristian.baboi@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After removing call "C:\Program Files\Microsoft Visual Studio<br>
9.0\VC\bin\vcvars32.bat", calling misc/vs2008.bat in gambc-v4_6_6 sources<br>
 from VS2010 command prompt gives these errors for gsc:<br>
<br>
_gambcgsc.obj : error LNK2001: unresolved external symbol<br>
_____20___t_2d_univ<br>
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___codegen<br>
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___x86<br>
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___asm<br>
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___assert<br>
gsc.exe : fatal error LNK1120: 5 unresolved externals<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br></div>