Yep, I downloaded and installed 4.6 (you can create a one-off ubuntu package of it by using checkinstall) in its stead. The -exe option is working now.
Thanks, -- Matt
On Fri, Nov 26, 2010 at 7:37 AM, Marc Feeley feeley@iro.umontreal.cawrote:
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