That did the trick. Thanks Evan.
On Sun, Apr 30, 2017 at 9:32 PM, Evan Hanson wrote:
Hi Matt,
You're very close. The only step you missed was emitting an import
file
for your "other" module so that csc knows what to do when you "(import
other)" in main.scm.
This should work (note "-j other"
Hi Matt,
You're very close. The only step you missed was emitting an import file
for your "other" module so that csc knows what to do when you "(import
other)" in main.scm.
This should work (note "-j other"):
csc other.scm -c -j other
csc other.o main.scm
Cheers,
Evan
Is using units and modules together supported? I'd like to use modules
but don't want to have to install them as eggs.
I have tried this:
=main.scm=
(declare (uses other))
(import other)
(other-print "Hello")
==end
=other.scm=
(declare (unit other))
(module other