[gambit-list] gsc doesn't recognize -exe option?

Marc Feeley feeley at iro.umontreal.ca
Fri Nov 26 07:37:27 EST 2010


On 2010-11-26, at 12:09 AM, Matthew Koichi Grimes wrote:

> I'm trying to compile a trivial program, using gsc 4.2.8 on Ubuntu 10.04. My source file is named hello.ss, and contains one line:
> 
>     (display "hello")
> 
> I try to compile it with this command:
> 
>     $ gsc -exe hello.ss
> 
> I get the following error:
> 
>     *** WARNING -- Unknown or improperly placed option: "exe"
> 
> It runs fine under the interpreter if I type "gsi hello.ss", and if I omit the -exe and just type "gsc hello.ss", it compiles to an object file, as expected. So I don't think that Ubuntu's Gambit installation is bad...
> 
> Any ideas on what's going on would be greatly appreciated.

The -exe option came out in Gambit v4.5.0 (released August 2009).  The version you are using, Gambit v4.2.8, came out in May 2008.  You need to upgrade!

Marc




More information about the Gambit-list mailing list