[uClinux-dev] Q : Shared/dynamic loading librairies

DALLEMAGNE Philippe philippe.dallemagne at csem.ch
Wed Aug 28 08:59:09 EDT 2002

Thank you very much for the information.

Excuse my ignorance, I have a subsequent question : would dynamic
library loading be enabled if I apply the steps mentioned below ?
IOW, would dlopen() and dlsym() be effective ? with lazy binding ?

And, yes, it is SnapGear, sorry for the typo :-)


David McCullough wrote:
> Jivin DALLEMAGNE Philippe lays it down ...
> > Hi,
> >
> > I have ported uClinux 2.4 (as of 20020502 tarball) to a ColdFire
> > 5407-based board. Now, I want to develop applications to run on this
> > platform.
> >
> > I read that shared library and dynamic loading of libraries was not
> > supported, but that NetGear or RidgeRun did a patch or something to
> > enable these features.
> >
> > Please, could you tell me what is the status about this issue ?
> That would be SnapGear not NetGear ;-) ;-)
> Get the latest distro (20020701),  and have a look at:
>         vendors/3com/Xcopilot/config.arch
> for how to change your config.arch to support shared libraries.
> Once you have done that turn on the support in the kernel for
> option and clean and rebuild the entire tree with uC-libc.  Make sure you
> are using the latest m68k-elf-tools from uClinux.org.
> You will now be using shared libraries.  You can tell by looking in the
> /lib directory of your romfs for lib1.so.
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/

More information about the uClinux-dev mailing list