[uClibc] Re: patches for uClibc++

Peter S. Mazinger ps.m at gmx.net
Wed Jan 26 09:47:13 UTC 2005


On Tue, 25 Jan 2005, Peter S. Mazinger wrote:

> > After applying your patches, the shared binary increased in size by about 30k 
> > on my machine.  Was that on purpose or did I miss something?
> 
> have you set IMPORT_LIBSUP or not? (if not imported, than the binary has 
> to be bigger)
> have you added the zdefs patch too? (i have no idea though if that can 
> influence the result)
> 
> I have checked my packages, the gentoo tbz2 of 0.1.9 is smaller than 0.1.8
> I have to check some bins.
> groff is 7.2 MB w/ IMPORT_LIBSUP=n and 6.3 MB w/ IMPORT_LIBSUP=y (the 
> whole package w/ man-pages and so on)

groff binary built against uclibc++-0.1.8 (non-patched) is the same as 
groff built against uclibc++-0.1.9 (patched) 75kB

troff is 640kB against 0.1.8 (unpatched) and 652kB against 0.1.9 (patched)

libuClibc++.so.0.1.9 (unpatched) 128kB, libuClibc++.so.0.1.9 (patched) 
146kB (independently of the zdefs patch) (18kB diff)

it could be that gcc does not include all of libsupc++.a (only needed 
parts), we add all the objects to it.

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