[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:
(compile-debug-dynamic)
(compile-optimize-dynamic)
(compile-profile-dynamic)
(compile-debug-static)
(compile-optimize-static)
(compile-profile-static)
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.
-Alan
--
.i ko djuno fi le do sevzi
- Re: static linking (Re: [Chicken-users] wish-list, (continued)
- Re: static linking (Re: [Chicken-users] wish-list, Felix, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Daishi Kato, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Peter Bex, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Daishi Kato, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Alan Post, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Peter Bex, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list,
Alan Post <=
- Re: static linking (Re: [Chicken-users] wish-list, Alan Post, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Peter Bex, 2010/10/29
- Re: static linking (Re: [Chicken-users] wish-list, Felix, 2010/10/31
- [Chicken-users] Re: wish-list, Burton Samograd, 2010/10/27
- Re: [Chicken-users] Re: wish-list, Felix, 2010/10/28
- [Chicken-users] Re: wish-list, Burton Samograd, 2010/10/28
- Re: [Chicken-users] Re: wish-list, Iruatã Souza, 2010/10/28
- Re: [Chicken-users] Re: wish-list, Felix, 2010/10/29