[uClibc] RE: Buildroot question about ldd on i386-uclibc-gcc
Erik Andersen
andersen at codepoet.org
Sat Sep 6 22:19:35 UTC 2003
On Sat Sep 06, 2003 at 11:11:58AM -0400, West Suhanic wrote:
> Hi All:
>
> I have searched the mail archives going back a year. I am wondering
> why when I do an ldd on i386-uclibc-gcc I get the following output:
>
> >ldd ./build_i386/staging_dir/bin/i386-uclibc-gcc
> >libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
> >/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> I thought ldd would report that i386-uclibc-gcc would be using the uclibc libc and the
> uclibc ld. Where has my reasoning gone astray?
Your reasoning has gone astray by assuming that i386-uclibc-gcc
would be itself linked with uClibc. It is linked against the
host system's C library since it is designed to run on the host
system to produce binaries for the target.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list