如何运行 gambit-c
已经很晚了,我应该去睡觉了,也许这就是为什么我无法弄清楚这一点。我在一台 fedora-13 机器上,我刚刚运行
yum install gambit-c
并安装了它,因为我想按照一本计划好的教科书进行操作。
但既然已经安装了,我该如何启动方案解释器?
It's late and I should go to bed and maybe that's why I can't figure this out. I'm on a fedora-13 machine and I just ran
yum install gambit-c
I installed it because I want to follow along in a schemed text book.
but now that it's installed, how do I start the scheme interpreter??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从 RPM 列表中可以看出,二进制文件名为
gsi
、gsix
和gsc
,全部位于/usr/bin
中代码>.我怀疑 gsi 是解释器。It looks from the RPM listing that the binaries are named
gsi
,gsix
, andgsc
, all in/usr/bin
. I suspect thatgsi
is the interpreter.有关更多详细信息,还有手动输入 gsi。
顺便说一句:我不了解 Fedora RPM,但我发现 Ubuntu 存储库的 Gambit-C 相当过时(4.0 左右),缺少独立可执行文件的简单编译等功能。最新版本是4.6。如果你的 RPM 版本落后几个小数位,我建议只从源代码安装;这是一个非常标准的配置 ->制作->进行安装顺序。在运行配置时记住以下选项:
这会加快速度上涨了不少。
For more details, there's also the manual entry for gsi.
BTW: I don't know about the Fedora RPM, but I found that the Ubuntu repository's Gambit-C was quite outdated (4.0-ish), with missing features like simple compilation of stand-alone executables. The most recent version is 4.6. If your RPM's version is a few decimal places behind, I'd suggest just installing from source; it's a pretty standard configure -> make -> make install sequence. Just remember the following option when running configure:
This speeds things up quite a bit.