[Top][All Lists]

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

Re: static linking (Re: [Chicken-users] wish-list

From: Alan Post
Subject: Re: static linking (Re: [Chicken-users] wish-list
Date: Fri, 29 Oct 2010 11:28:36 -0600

On Fri, Oct 29, 2010 at 07:09:15PM +0200, Peter Bex wrote:
> On Fri, Oct 29, 2010 at 09:02:05AM -0600, Alan Post wrote:
> > Not every egg supports linking to the .o file.  For those eggs that
> > don't, you'll need to add the support yourself.  If you do, I'm sure
> > a patch will be accepted making each egg you work with able to
> > statically link.
> Yes, but it won't be maintained, except maybe by guessing how changes
> in the dynamic build apply to the static build, because nobody really
> uses static builds (proven by the lack of eggs that have static options
> in the first place).
> > Adding support is easy but not automatic.  Usually it will be a few
> > extra lines added to the .setup file for each egg.
> It would be nice (TM) if building static files could be automatically
> done by chicken-install based on the rules for building dynamic libs.
> I guess that's just impossible in the general case though.

If we're on that topic, it would be nice if, rather than specifying compile
options, we had:



Presumably then an egg says (compile) and the configuration of the
repository chooses which (or how many) types of build to perform
without the egg author having to remember to accomodate everyone.

.i ko djuno fi le do sevzi

reply via email to

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