Before running the compile script, you will need to have the following defined in your .gambcini
library->filename
given a library name return a filename that points to the dynamic library to load. This is also used by the compile system to place the library in that location when you use ex:compile-file
The gambcini file included in the distribution has an implementation of this procedure as well as friendly procedures for loading the base r6rs library and a macro for running programs so you can create a script like the following
(r6rs)
(program ()
(import (r5rs))
(display "Hello World!\n"))