RFC: DOPIC etc

Peter S. Mazinger ps.m at gmx.net
Thu Oct 13 14:21:15 UTC 2005


Hello!

Currently we have DOPIC/HAVE_NO_PIC/HAVE_SHARED/HAVE_NO_SHARED options 
that are somewhat overlapping. What do we need of these?

Cases:
1. archs that do not have shared lib support and/or shared lib loader (the 
latter is overlapping w/ another option BUILD_UCLIBC_LDSO/ARCH_HAS_NO_LDSO)
2. user does not want shared libs
3. user wants overall PIC code also in lib*.a (shared libs should be PIC, 
unselectable)
What else has to be covered ?

nios* and v850 have HAVE_NO_PIC/HAVE_NO_SHARED/ARCH_HAS_NO_LDSO set
sh2a is somewhat different, but results in the same
sh2 has only ARCH_HAS_NO_LDSO defined, results in !BUILD_UCLIBC_LDSO

What are the real cases?


libdl.a is not built if we do not have BUILD_UCLIBC_LDSO enabled. Is this 
correct, or there are cases where w/o shared lib support and/or 
UCLIBC_LDSO libdl.a may be used?

Opinions?

Thanks, Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list