chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Modules in shared libs?


From: Peter Bex
Subject: Re: [Chicken-users] Modules in shared libs?
Date: Wed, 21 Nov 2012 22:38:57 +0100
User-agent: Mutt/1.4.2.3i

On Wed, Nov 21, 2012 at 04:34:49PM -0500, John Cowan wrote:
> Peter Bex scripsit:
> 
> > You'll need to use csc -j c c.scm to emit file c.import.scm, then
> > compile that.  
> 
> Is there a significant benefit to compiling import libraries?  I have
> never bothered to do so.

There is if you have big macros.  The source of the macro code is
stored in import libraries.  If you compile with scrutiny, it'll
also warn you if something's wrong in the macro's code itself,
I think.  Not sure if that happens when compiling the main library.

For consistency and cargo culting reasons I always just compile my
import libs.

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]