Hi Josh, I think the following is what you're after.
$ cat foo.scm (module foo * (import scheme) (define (foo) 1)) $ cat bar.scm (import foo) (print (foo)) $ csc -c -unit foo -emit-import-library foo foo.scm $ csc -uses foo bar.scm foo.o $ ./bar 1 Note that when compiling bar.scm with foo as a unit this way, (use foo) becomes (import foo). Cheers, Evan _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users