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 $ objdump -t /usr/local/bin/fish | grep debug 790:08145947 l F .text 00000047 _ZL12should_debugi 791:0814598e l F .text 0000015e _ZL12debug_sharedRKSbIwSt11char_traitsIwESaIwEE 792:08177440 l O .rodata 000000be _ZZ10debug_safeiPKcS0_S0_S0_S0_S0_S0_S0_S0_S0_S0_S0_S0_E19__PRETTY_FUNCTION__ 901:081545dc l F .text 000000bc _ZL14debug_safe_intiPKci 952:080e42d6 g F .text 0000005a _ZN11completer_t23debug_print_completionsEv 1148:08145aec g F .text 00000086 _Z5debugiPKwz 3165:08145b72 g F .text 000000ed _Z5debugiPKcz 3424:08148181 g F .text 00000014 debug_thread_error 5827:08145c5f g F .text 000001b7 _Z10debug_safeiPKcS0_S0_S0_S0_S0_S0_S0_S0_S0_S0_S0_S0_ 6019:081b9654 g O .data 00000004 debug_level shrug :-\ -- Luciano ES >> ------------------------------------------------------------------------------ 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