On Fri, 7 Dec 2012, Luciano ES wrote: > On Fri, 7 Dec 2012 16:26:39 +0800 (WST), David Adam wrote: > > > On Fri, 7 Dec 2012, Luciano ES wrote: > > > Now pray tell, how do you make such small binaries? All of your > > > packages, whole packages, are just under or above 1 MB. In my > > > system, with fish compiled from source, the sum of fish + fishd + > > > fish_indent + fish_pager is more than 2.5 MB. What's the trick? > > > > Do you have debugging symbols turned on? objdump -t /usr/bin/fish > > will tell you. I suspect this is not the problem, as the symbols on > > my system take up about 5MB, but it's a good place to start. > ************************** > > I have no idea! > > $ objdump -t /usr/local/bin/fish | wc -l > 6871
That's a yes... $ objdump -t /usr/bin/fish /usr/bin/fish: file format elf64-x86-64 SYMBOL TABLE: no symbols As you may know, they're not terribly harmful; they take up a little disk space and possibly slightly slow the loading of the process. You can use strip(1) on the binaries to gt rid of them. (c.f. The UNIX-HATERS History, page xxv, The UNIX-HATERS Handbook[1]) Cheers David [1]: http://m.simson.net/ugh.pdf ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users