chicken-users
[Top][All Lists]
Advanced

[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 09:02:05 -0600

On Fri, Oct 29, 2010 at 11:39:38PM +0900, Daishi Kato wrote:
> At Fri, 29 Oct 2010 16:09:42 +0200,
> Peter Bex wrote:
> > 
> > On Fri, Oct 29, 2010 at 10:57:23PM +0900, Daishi Kato wrote:
> > > Oh, this sounds something. Yes, I don't need to eliminate ld dependence.
> > > I'm not sure if I understand the usage of -deploy.
> > > 
> > > csc:
> > >     -deploy                        deploy self-contained application 
> > > bundle
> > 
> > Try http://wiki.call-cc.org/manual/Deployment
> 
> Thanks.
> So, this is to place so files with the executables (and link).
> 
> I'm doing a workaround with CHICKEN_PREFIX.
> (I looked for CHICKEN_REPOSITORY_PATH, which is no longer available.)
> 
> I do not need to compile w/ -static, but to link with *.o eggs,
> isn't it possible?
> 

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.

Adding support is easy but not automatic.  Usually it will be a few
extra lines added to the .setup file for each egg.

-Alan
-- 
.i ko djuno fi le do sevzi



reply via email to

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