Can't figure out how to build libdl.a

Stefan Sperling stsp at stsp.in-berlin.de
Wed Aug 9 13:16:42 CEST 2006


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.

I guess you may have to hack your application so it includes
the dynamic libraries statically instead.
-- 
stefan
http://stsp.in-berlin.de                                 PGP Key: 0xF59D25F0



More information about the dslinux-devel mailing list