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
Afficher les réponses par date
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.eduwrote:
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
You're running a pretty old version of Gambit - you might want to update to something more recent.
Indeed, debian and ubuntu's versions are completely outdated. He *should* want to update to something more recent…
Compiling gambit isn't too hard, takes at most 20 minutes (while you browse the web), and you can have several versions installed concurrently (I know Marc had this in mind when he chose the installation options), so having your own recent gambit installation in your home should be the easiest solution.
And don't hesitate to send a friendly email to the debian/ubuntu maintainers of gambit, requesting an update.
P!
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
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