Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 1998 14:47:39 -0400
From:      Brian Cully <shmit@kublai.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: ELF object file aggregation
Message-ID:  <19981016144738.H19804@kublai.com>
In-Reply-To: <199810092326.QAA01533@dingo.cdrom.com>; from Mike Smith on Fri, Oct 09, 1998 at 04:26:27PM -0700
References:  <19981009173454.Q529@kublai.com> <199810092326.QAA01533@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 09, 1998 at 04:26:27PM -0700, Mike Smith wrote:
> > I'm working on a project that requires the functionality of dlopen()
> > and friends, but I want to link it statically. I was thinking that
> > I could do this by munging together various ELF files at run-time
> > and scarfing symbols (the way kldload does things, if I'm not
> > mistaken).
> 
> Do you want it to be statically linked, or do you want it to not have 
> external shared library dependancies?  There's a big difference.  8)

I don't want external shared library dependencies. Basically, I'm
working on a replacement for /etc/rc, so I can't rely on
/usr/libexec/ld-elf.so or any of the libs in /usr/lib.

It seems to me like run-time object file aggregation was the optimal
solution.

-bjc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981016144738.H19804>