[gambit-list] Compiling loaded files

Vijay Mathew mathew.vijay at gmail.com
Fri Nov 11 21:50:06 EST 2011


I have a Scheme file that loads some dependencies:

    ;; main.ss

    (load "a.ss")
    (load "b.ss")

    (define (main)
       (call-procs-in-a-and-b))

    (main)

I generate an executable like this

    $ gsc -o myapp -exe main.ss

When I run `myapp`, it is still looking for `a.ss` and `b.ss`.
How can I make sure that these files also get compiled and linked to
the executable?
Do I have to compile them separately?

Thanks,

--Vijay


More information about the Gambit-list mailing list