Multiple libc on target
Rob Landley
rob at landley.net
Wed Dec 6 11:57:11 PST 2006
On Tuesday 05 December 2006 8:13 pm, Hiroki Kaminaga wrote:
> Hi,
>
> I am planning to use multiple libc on a target board(ARM), without
> rebooting to use the other. Any recomendation to do this?
In theory it should just work. That's why ld-uClibc.so.conf and
ld-linux.so.conf have different names by default. (And uClibc is libc.so.0
while glibc is libc.so.6)
Only one of them can have the libc.so symlink, but that's a toolchain issue
trying to build new stuff against it, not a runtime issue.
> I'm currently thinking like this:
> (on target filesystem:)
> /uclibc/bin/... binary which links uclibc
> /lib/... uclibc
> /glibc/bin/... binary which links glibc
> /lib... libc.so.6 and others
*shrug* you could, but why? There isn't a special subdirectory for "binaries
that link against zlib"...
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
More information about the uClibc
mailing list