[uClibc]Shared Library
Bao Ha
baoh at linuxwizardry.com
Fri Mar 30 16:55:30 UTC 2001
I am playing with the hello.c program. Following is what I have done:
[bao at flintstone silly]$ gcc -s -nostdlib -luClibc -lgcc ../../crt0.o
hello.c -o hello
[bao at flintstone silly]$ ls -sh hello
4.0k hello
[bao at flintstone silly]$ file ./hello
./hello: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
linked (
uses shared libs), stripped
[bao at flintstone silly]$ ldd ./hello
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40015000)
libuClibc.so.1 => /lib/libuClibc.so.1 (0x4001e000)
libc.so.6 => /lib/libc.so.6 (0x4004c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
....
Shouldn't "hello" use only libuClibc.so? exclusively?
Thanks.
Bao
More information about the uClibc
mailing list