The -exe option is fairly new, you see at what version it was introduced in the Changelog section on the homepage, probably upgrade Gambit. Mikael<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 Vasil,<br>
<br>
Thanks for the reply.<br>
Unfortunately that does not work on Windows.<br>
I will try on Linux and update you.<br>
<font color="#888888"><br>
--Vijay<br>
</font><div><div></div><div class="h5"><br>
On Fri, Aug 19, 2011 at 1:44 PM, vasil <<a href="mailto:vasil.s.d@gmail.com">vasil.s.d@gmail.com</a>> wrote:<br>
> gsc -exe hello.ss<br>
> works fine, generating executable file hello.<br>
><br>
><br>
>> 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>
>><br>
>> 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>
>><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>
>> _______________________________________________<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>
>><br>
><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>
><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>
</div></div></blockquote></div><br>