[uClibc] A stupid question.
Henri van Riel
uclibc at vanriel.xs4all.nl
Mon May 31 22:59:26 UTC 2004
Hello,
I hope the subject of this email is clear to everyone ;)
My question is about library sizes.
I have a uClibc-based target system build with a certain set of
options, I have the .config of that system. I also know what kernel it
is compiled and I also have that .config.
So I have recreated the environment on which my target was build and
I'm building a buildroot with the same settings. Same kernel headers
and kernel .config, same uClibc version and .config, the same target
arch and the same compiler. But my libraries are slightly smaller than
the ones on my target.... how can that be?
This is a comparison of the libraries of my target and dev system:
lib target host
------------------- ------ ------
ld-uClibc-0.9.26.so 16468 16436
libcrypt-0.9.26.so 9036 9036
libdl-0.9.26.so 5748 5716
libm-0.9.26.so 51532 51360
libnsl-0.9.26.so 1592 1560
libresolv-0.9.26.so 1592 1560
libuClibc-0.9.26.so 191180 190956
libutil-0.9.26.so 4252 4216
I warned you, this is probably a stupid question... but why aren't
those libraries equally big? I've checked them with readelf and the
libraries are identical when it comes to included symbols and stuff,
but some symbols are simply 1 or 2 bytes smaller. Why is that?
--
Best regards,
Henri mailto:uclibc at vanriel.xs4all.nl
More information about the uClibc
mailing list