chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Creating my own extensions


From: Christian Kellermann
Subject: Re: [Chicken-users] Creating my own extensions
Date: Tue, 6 Mar 2012 20:52:14 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Mark,

* Mark Carter <address@hidden> [120306 19:59]:
> Mario Domenech Goulart <address@hidden>
> 
> > Maybe this document can be useful:
> > http://wiki.call-cc.org/eggs%20tutorial
> 
> OK, after many chicken sacrifices (strangely appropriate somehow), I was 
> able to build my extension and load it. Just one comment: I think there is 
> a doc fix needed at 
>       http://wiki.call-cc.org/man/4/Extensions
> In the section my-lib.setup, I think the following line needs to be included 
> below the other two compile lines:
>       (compile -c -O2 -d1 my-lib.scm -unit my-lib -j my-lib)
> Otherwise, the .o file isn't created, causing installation to fail.

Ah right, it needs a fix. But not the one you suggest :) The "ID.o"
in the example is a leftover from old days. I will fix it. Your
code does not need your line above. *Unless* you want to be able
to link extensions statically which is technically possible, but
no longer supported.

HTH,

Christian

-- 
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
 -- Lao Tse. 



reply via email to

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