[Top][All Lists]

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

Re: [Chicken-users] There are (module)s and there are (declare (unit s)

From: Dan Liebgold
Subject: Re: [Chicken-users] There are (module)s and there are (declare (unit s))...
Date: Thu, 10 Dec 2009 19:24:52 -0800

It'd be quite useful to see a short tutorial like the one about compiling multiple files in  "Using the compiler" but focused on modules rather than units.  I'm not sure how to use modules and units with shared vs static object files and import libraries.  I'm using trial and error, but there are quite a few varibles.


On Thu, Dec 10, 2009 at 6:17 PM, John Cowan <address@hidden> wrote:
Stephen Eilert scripsit:

> So far, I am using a combination of modules and includes.

IMHO, units are effectively obsolete unless you are dealing with such
large volumes of code that Chicken/gcc can't compile them in one go.
It's worth noting that the manual talks in terms of units, but all of
them except "library", "eval", and "extras" correspond 1-1 with modules.
(Some are in separate libraries, some aren't.)  Those three units contain
the definitions for the "scheme" and "chicken" modules.

John Cowan    address@hidden
Nobody expects the RESTifarian Inquisition!  Our chief weapon is
surprise ... surprise and tedium  ... tedium and surprise ....
Our two weapons are tedium and surprise ... and ruthless disregard
for unpleasant facts....  Our three weapons are tedium, surprise, and
ruthless disregard ... and an almost fanatical devotion to Roy Fielding....

Chicken-users mailing list

Dan Liebgold    [address@hidden]

reply via email to

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