[gambit-list] Help with creating executable.

Mikael mikael.rcv at gmail.com
Fri Aug 19 10:13:43 EDT 2011


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

2011/8/19 Vijay Mathew <mathew.vijay at gmail.com>

> 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 at 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 at iro.umontreal.ca
> >> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
> >>
> >
> > _______________________________________________
> > Gambit-list mailing list
> > Gambit-list at iro.umontreal.ca
> > https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
> >
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110819/d219734d/attachment.htm>


More information about the Gambit-list mailing list