>>-----Original Message-----
>>From: Bernhard Reutner-Fischer [mailto:rep.dot....@gmail.com] 
>>Sent: Friday, July 03, 2009 12:07 PM
>>To: Salvatore CRO'
>>Cc: 'Carmelo Amoroso'; 'uclibc'
>>Subject: libargp support? [was: Re: 100KiB limit is too low]

>>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 (!)

Yes, we already considered at the time of the implementation... We provide
library with this feature off by default.

>>[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¹). For comparison:
>>$ size libc/unistd/getopt.os 
>>   text          data     bss     dec     hex filename
>>   2529            12      28    2569     a09 libc/unistd/getopt.os

... But we needed to support elfutils that in turn uses argp...

>>¹)
>>http://www.lysator.liu.se/~nisse/misc/

It could be an interesting approach. We'll go on evaluating it shortly.

Cheers,
Salvo.





_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to