Can't figure out how to build libdl.a

Chris McCormick chris at mccormick.cx
Thu Aug 10 20:13:46 CEST 2006


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...

Best,

Chris.

-------------------
chris at mccormick.cx
http://mccormick.cx



More information about the dslinux-devel mailing list