<br><br><div class="gmail_quote">2011/8/19 Vijay Mathew <span dir="ltr"><<a href="mailto:mathew.vijay@gmail.com">mathew.vijay@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I am trying to generate an executable from a Scheme file:<br>
<br>
   ;; hello.ss<br>
<br>
   (display "hello world")<br>
   (newline)<br>
<br>
On Ubuntu Linux (11.4, 32bit) with Gambit v4.2, I tried the following command:<br>
<br>
$ gsc -o hello -exe hello.ss<br>
<br>
It failed with a warning "misplaced option -exe".<br></blockquote><div><br></div><div>4.2 = too old, upgrade.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Windows 7 (64bit) with Gambit v4.6.1, I get the following error:<br>
<br>
$ gsc -o hello.exe -exe hello.ss<br>
<br>
Access is denied.<br>
Access is denied.<br>
Access is denied.<br>
*** ERROR IN ##for-each -- No such file or directory<br>
(delete-file "C:\\Users\\VMathew\\Desktop\\hello.o")<br></blockquote><div><br></div><div>Uh. Check what C compiler Gambit is set up to use, if you're using Mingw Gambit it might be wanting to use MSVC?</div>

<div><br></div><div>Furthermore, ensure you have the appropriate filesystem privileges, maybe run Gambit (so, cmd) as administrator and try out. When you got it working, let the ML know how you solved it.</div><div> </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
On both machines the gcc compiler is installed and is working properly.<br>
I am following the directions at<br>
<a href="http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#GSC" target="_blank">http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#GSC</a><br>
<br>
What could be going wrong?<br>
<br>
Thanks,<br>
<br>
--Vijay<br></blockquote><div><br></div><div>Brgds</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
_______________________________________________<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>