Can't figure out how to build libdl.a
darksun4 at gmail.com
Fri Aug 11 00:30:18 CEST 2006
On 8/10/06, Chris McCormick <chris at mccormick.cx> wrote:
> On Wed, Aug 09, 2006 at 01:16:42PM +0200, Stefan Sperling wrote:
> > On Wed, Aug 09, 2006 at 06:02:44PM +0800, Chris McCormick wrote:
> > > > We don't use shared libraries, so we have no use for libdl.
> > >
> > > Fair enough, but I have an application that loads dynamic libraries on
> > > the fly and hence needs libdl. Is there anyway I can force libdl to be
> > > built?
> > IIRC the libdl dynamic loader is specific to the ELF binary format,
> > which DSLinux does not support. DSLinux uses FLAT binaries,
> > which are not paged (since we have no MMU) and relocated at runtime.
> Aw, ELF only; that's sad.
> > I guess you may have to hack your application so it includes
> > the dynamic libraries statically instead.
> The runtime loaded dynamic libraries are not really super essential.
> Thanks for the advice. Time to start hacking...
Look for some info here : http://dagobah.ucc.asn.au/things/make-static.html
and of course prelink ( http://freshmeat.net/projects/prelink/ ). Prelink is
for ELF shared libraries
but it's much more complete than make-static (which you can use for your
quick hack :) )
Hope I helped
PS : Hello everyone in the list :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dslinux-devel