[gambit-list] gambit package management

Bradley Lucier lucier at math.purdue.edu
Wed Aug 28 14:22:59 EDT 2013


On 08/23/2013 07:40 PM, jasox lispy wrote:
> Hi guys, does gambit have something like raco in racket, for easily
> installing packages and it works on windows too.

I don't know much about raco, but I looked at its web page documentation
briefly.

Raco has many sub-commands; which ones do you want to use?

If you want to compile a file to a dynamically loaded library in Gambit,
you just

gsc library.scm

which generates library.o1 (or a higher number if library.o[123...] are
in use already) and then to use it you

(load "library")

If you want to produce a stand-alone executable you do

gsc -exe program.scm

then, in linux for example, you

./program

If originally Gambit was configured with "--enable-shared" then
executables will be small and will load the runtime library at run time,
otherwise executables will be linked with the Gambit runtime and be larger.

Brad


More information about the Gambit-list mailing list