This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITA, RFU] libgpg-error 1.6-1
- From: Brian Dessent <brian at dessent dot net>
- To: Gergely Budai <thuffir at gmx dot de>
- Cc: cygwin-apps at cygwin dot com
- Date: Sun, 09 Mar 2008 18:13:02 -0700
- Subject: Re: [ITA, RFU] libgpg-error 1.6-1
- References: <000001c8823c$a78fd8d0$28bfae05@cyberdyne>
- Reply-to: cygwin-apps at cygwin dot com
Gergely Budai wrote:
> I have been reviewing my packages and noticed that cygport does not strip
> the libraries located in /usr/lib.
> Do they need to be stripped too?
I don't think there's any standard practice. Here's a bashlet you can
run to categorize the contents of your /usr/lib into either stripped,
not stripped, or import lib (where the concept of stripping doesn't
really apply since they contain no code):
$ s=0; ns=0; for F in $(find /usr/lib -name lib\*.a); do \
od=$(objdump -h $F); case "$od" in \
*.idata*) echo -e "$F\n\timport lib";; \
*.stab*|*.debug_*) echo -e "$F\n\tnot stripped"; ns=$(($ns + 1));; \
*) echo -e "$F\n\tstripped"; s=$(($s + 1));; \
esac; done; echo -e "\ntotal stripped: $s\ntotal non-stripped: $ns"
On my system, this reports:
total stripped: 179
total non-stripped: 43
Brian