chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Like 'include', but different?


From: Mark Carter
Subject: [Chicken-users] Like 'include', but different?
Date: Thu, 23 Aug 2018 18:59:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

OK, I think I've figured it out.

In the calling code (calc.scm), I have to do something like:

(cond-expand
 (compiling (declare (uses calc-yy)))
 (else (load "calc-yy.scm")))

In compiling, I have to do:

csc -unit calc-yy -c calc-yy.scm

csc calc.scm calc-yy.o

That seem to work.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]