[gambit-list] Compiling loaded files

Marc Feeley feeley at iro.umontreal.ca
Sat Nov 12 08:40:45 EST 2011


On 2011-11-12, at 6:47 AM, Vijay Mathew wrote:

> Thanks for helping me out! I decided to load object files and it works fine.

Doing it like this:

   ;; main.ss

   (load "a")
   (load "b")

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

   (main)

also has the advantage that the source files (a.ss and b.ss) will be loaded by "load" if the source files have been modified after the last compilation to .o1 files.  This is useful for debugging.

Marc




More information about the Gambit-list mailing list