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
Hi Vasil,
Thanks for the reply.
Unfortunately that does not work on Windows.
I will try on Linux and update you.
--Vijay
On Fri, Aug 19, 2011 at 1:44 PM, vasil <vasil.s.d@gmail.com> wrote:
> gsc -exe hello.ss
> works fine, generating executable file hello.
>
>
>> Hi,
>>
>> I am trying to generate an executable from a Scheme file:
>>
>> ;; hello.ss
>>
>> (display "hello world")
>> (newline)
>>
>> On Ubuntu Linux (11.4, 32bit) with Gambit v4.2, I tried the following command:
>>
>> $ gsc -o hello -exe hello.ss
>>
>> It failed with a warning "misplaced option -exe".
>>
>> On Windows 7 (64bit) with Gambit v4.6.1, I get the following error:
>>
>> $ gsc -o hello.exe -exe hello.ss
>>
>> Access is denied.
>> Access is denied.
>> Access is denied.
>> *** ERROR IN ##for-each -- No such file or directory
>> (delete-file "C:\\Users\\VMathew\\Desktop\\hello.o")
>>
>> On both machines the gcc compiler is installed and is working properly.
>> I am following the directions at
>> http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#GSC
>>
>> What could be going wrong?
>>
>> Thanks,
>>
>> --Vijay
>> _______________________________________________
>> Gambit-list mailing list
>> Gambit-list@iro.umontreal.ca
>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list@iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list