libargp support? [was: Re: 100KiB limit is too low]
Carmelo AMOROSO
carmelo.amoroso at st.com
Fri Jul 3 11:54:44 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bernhard Reutner-Fischer wrote:
> On Fri, Jul 03, 2009 at 11:13:53AM +0200, Salvatore CRO' wrote:
>> Just a small tip... figures on the left in patches file
>> listing refers to .c bytesize while those between () on
>> the right to .o bytesize.
>
>> [PATCH] libc: Added argp support :
>> ==================================
>> _Descr_ : Argp source files
>> _Files_ :
>> 1316 libc/argp/argp-ba.c (732)
>> 1254 libc/argp/argp-eexst.c (735)
>> 11685 libc/argp/argp-fmtstream.c (3328)
>> 1708 libc/argp/argp-fs-xinl.c (1648)
>> 55681 libc/argp/argp-help.c (15384)
>> 29284 libc/argp/argp-parse.c (6328)
>> 1479 libc/argp/argp-pvh.c (734)
>> 1287 libc/argp/argp-pv.c (728)
>> 1242 libc/argp/argp-xinl.c (1068)
>> 297 Makefile
>> 721 Makefile.in
>
> so >> 20k (!)
>
>> [PATCH] libc: getopt adj for argp :
>> ===================================
>> _Descr_ : Adjustment needed by argp :
>> - Added long_r/long_only_r support to getopt.c .
>> - getopt_int.h moved to proper common header path.
>> _Files_ :
>> 34165 libc/unistd/getopt.c (3904 )
>
> Given that argp is in no standard and that this abovementioned impl
> is just enormous in size, i would prefer if you would rather use
> argp-standalone¹).
Ok Bernhard,
do not add argp/fts into uclibc main stream.
We will keep it for now on STLinux release only
Carmelo
> For comparison:
> $ size libc/unistd/getopt.os
> text data bss dec hex filename
> 2529 12 28 2569 a09 libc/unistd/getopt.os
>
> ¹)
> http://www.lysator.liu.se/~nisse/misc/
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkpN8YQACgkQoRq/3BrK1s+DswCfelFD1mNV3YUNJ0VI9SAB78mu
0+4AoPEFDrh4WpbU1Ay6yM733D5OVAAj
=UZ6c
-----END PGP SIGNATURE-----
More information about the uClibc
mailing list