You are not logged in.
Pages: 1
Hi all ![]()
Who strips their binaries? I stripped gedit yesterday and it shrunk to nearly 1/3 of the original size. I'm yet to test the speed difference (any suggestions on how to do that?), but it certainly feels snappier. If nothing else, it's saving disk space ![]()
root ~ # ll /usr/bin/gedit
-rwxr-xr-x 1 root root 4.1M 2008-09-28 03:54 /usr/bin/gedit
root ~ # strip /usr/bin/gedit
root ~ # ll /usr/bin/gedit
-rwxr-xr-x 1 root root 1.8M 2008-10-28 13:26 /usr/bin/gedit
root ~ #Offline
Hmmm... makepkg strips binaries and libraries by default. I wonder why that was not stripped?
Offline
Interesting.
.:[ b-con@beacon : 20:41:04 : ~/Desktop ]:.
$ for BIN in gedit pcmanfm terminal dhcpcd ls clear xchat rtorrent openbox ; do cp `which $BIN` /tmp/ ; ls -l /tmp/$BIN ; strip /tmp/$BIN ; ls -l /tmp/$BIN ; done
-rwx------ 1 b-con users 4241080 2008-10-27 20:42 /tmp/gedit
-rwx------ 1 b-con users 1827436 2008-10-27 20:42 /tmp/gedit
-rwx------ 1 b-con users 396808 2008-10-27 20:42 /tmp/pcmanfm
-rwx------ 1 b-con users 396808 2008-10-27 20:42 /tmp/pcmanfm
-rwx------ 1 b-con users 148264 2008-10-27 20:42 /tmp/terminal
-rwx------ 1 b-con users 148264 2008-10-27 20:42 /tmp/terminal
-rwx------ 1 b-con users 58272 2008-10-27 20:42 /tmp/dhcpcd
-rwx------ 1 b-con users 58272 2008-10-27 20:42 /tmp/dhcpcd
-rwx------ 1 b-con users 97340 2008-10-27 20:42 /tmp/ls
-rwx------ 1 b-con users 97340 2008-10-27 20:42 /tmp/ls
-rwx------ 1 b-con users 3580 2008-10-27 20:42 /tmp/clear
-rwx------ 1 b-con users 3580 2008-10-27 20:42 /tmp/clear
-rwx------ 1 b-con users 582840 2008-10-27 20:42 /tmp/xchat
-rwx------ 1 b-con users 582840 2008-10-27 20:42 /tmp/xchat
-rwx------ 1 b-con users 794868 2008-10-27 20:42 /tmp/rtorrent
-rwx------ 1 b-con users 794868 2008-10-27 20:42 /tmp/rtorrent
-rwx------ 1 b-con users 303592 2008-10-27 20:42 /tmp/openbox
-rwx------ 1 b-con users 303592 2008-10-27 20:42 /tmp/openboxGedit's the only thing I note that was not stripped. The before and after file sizes for everything else remain the same size after stripping.
[edit]
Replaced my aliases with their real commands.
Last edited by B-Con (2008-10-28 08:13:25)
- "Cryptographically secure linear feedback based shift registers" -- a phrase that'll get any party started.
- My AUR packages.
- I use i3 on my i7.
Offline
please open a bugreport and note the pkgver+pkgrel.
you should run "file" over some binaries to check if this is gnome related (maybe JGC's chroot settings) or a more general issue.
Offline
Uhh, ok!! Not the response I expected, but cool ![]()
Good to know about makepkg anyway ![]()
Bug Report: http://bugs.archlinux.org/task/11907
Last edited by fukawi2 (2008-10-28 07:47:50)
Offline
Pages: 1