[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Static eggs query (was Re: [Chicken-users] ok my first egg is ready)
From: |
Peter Wright |
Subject: |
Re: Static eggs query (was Re: [Chicken-users] ok my first egg is ready) |
Date: |
Wed, 7 Nov 2007 13:39:41 +0900 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
On 06/11 17:58:28, naruto canada wrote:
> There are three steps to solve your problem completely.
[ ... ]
> Second step is simply left a choice for the person who wants static
> lib to do like this:
>
> ar rv liball.a /usr/lib/chicken/3/*.o
> csc -c++ -static-extensions -c pct.scm
> csc -c++ -static -static-libs pct.o -o pct -lall -L.
Ah, of course. Blindingly obvious in hindsight, but it simply didn't
occur to me. Thanks for that.
There are probably a few other ways it can be done, but I like that
one (I prefer to err in favour of simplicity, where possible).
> Third step requires that egg tutorial be amended to instruct future
> egg writer to create both ".so" and ".o" in their ".setup" file.
That'd probably help, yeah. :)
Pete.
--
"People who set up online petitions are wasting oxygen that would be
better spent on farting." -- Eric the Fruitbat