Does uClibc support shared libraries?

Ahan Hsieh 謝武漢 ahan.hsieh at sunplus.com
Thu Apr 19 10:31:55 UTC 2007


Hi, folks,

=======================================================
Does uClibc support shared libraries?

Yes. uClibc has native shared library support on 
i386, ARM, mips, SH, CRIS, and PowerPC processors. 
Other architectures can use shared libraries but 
will need to use the GNU libc shared library loader. 

Shared Libraries are not currently supported by 
uClibc on MMU-less systems. SnapGear has implemented 
shared library support for MMU-less systems, 
however, so if you need MMU-less shared library support 
they may be able to help. 
=======================================================

Above is a FAQ of uClibc (http://www.uclibc.org/FAQ.html#shared)

In my understanding, if shared library is supported, 
toolchain and loader have been improved to support it.

Toolchin has to compile the shared library as PIC and 
transfer it to bFLT format. Also, some tricky mechanism has to 
been implemented.

Loader must be able to load the shared library.

But I don't understand why should uClibc support shared library.

If the uClibc support shared library on MMU architecture.
Why it can not support on MMU less architecture?

If the shared library is compiled as PIC and transfer to bFLT format.
Why should MMU be used ?

Any other factor that I have not consider?

Thanks!!


Best regards,
Ahan Hsieh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20070419/c513ab13/attachment-0001.htm 


More information about the uClibc mailing list