Subject: Re: Static linking of Citrus modules
To: None <tech-userlevel@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 07/14/2005 17:39:57
On Thu, Jul 14, 2005 at 05:30:39PM +0200, Martin Husemann wrote:
> On Thu, Jul 14, 2005 at 05:17:51PM +0200, Joerg Sonnenberger wrote:
> > Hi all,
> > the current lack of static linkage support for
> > Citrus has been discussed in the past.
> [..]
> > (c) Use linker sets or similiar mechanism to selectively link modules
> 
> Why are you jumping through hoops to get something linked statically and
> then make it not quite completely static again?

It is completely static. No dlopen, the executable is self-contained.
Sorry if that wasn't entirely clear.

> Is there any need for non-"C"-locale support in /rescue?

Because there are good reasons to link static binaries outside /rescue.
On DragonFly we have /bin and /sbin static and if I'm not mistaken, a vocal
minority uses a similiar setup on NetBSD too.

Joerg