chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Compiling modules


From: Peter Bex
Subject: Re: [Chicken-users] Compiling modules
Date: Sat, 24 Sep 2011 23:54:29 +0200
User-agent: Mutt/1.4.2.3i

On Sat, Sep 24, 2011 at 05:48:58PM -0400, Blake Sweeney wrote:
> Thanks for the help but I'm still lost. I tried:
> 
> $ csc -J module-a.scm

I think there's a -s missing (you want to compile to a shared
library object).  Sorry, I made this mistake in my second example
too.

> I read a little and it seemed like you include import libraries that aren't in
> the normal path by using the extend option when compiling. Was I wrong? Could
> you give me a more help?

I don't have much experience loading local libraries, but AFAIK it
should be possible to just   (use module-a)  or (require-extension module-a)
and it'll try to load from the current directory or the system path.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

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