Works fine for me under Gentoo and Gambit 4.6.0:

aking@hydra ~ $ gsc -exe hello.ss 
aking@hydra ~ $ ./hello 
Helloaking@hydra ~ $

And my system specs:

aking@hydra ~ $ uname -a
Linux hydra 2.6.31-gentoo-r6 #8 SMP Wed Aug 25 21:52:49 EDT 2010 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux
aking@hydra ~ $ gsc -v
v4.6.0 20100119234903

You're running a pretty old version of Gambit - you might want to update to something more recent. Cheers,

  Adam



On Fri, Nov 26, 2010 at 12:09 AM, Matthew Koichi Grimes <mkg@cs.nyu.edu> 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.

-- Matt

_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list