svn commit: trunk/busybox/docs/busybox.net

landley at busybox.net landley at busybox.net
Mon Sep 5 10:25:55 UTC 2005


Author: landley
Date: 2005-09-05 03:25:51 -0700 (Mon, 05 Sep 2005)
New Revision: 11328

Log:
Now that "make sizes" is in, the faq should mention it...


Modified:
   trunk/busybox/docs/busybox.net/FAQ.html


Changeset:
Modified: trunk/busybox/docs/busybox.net/FAQ.html
===================================================================
--- trunk/busybox/docs/busybox.net/FAQ.html	2005-09-05 07:29:47 UTC (rev 11327)
+++ trunk/busybox/docs/busybox.net/FAQ.html	2005-09-05 10:25:51 UTC (rev 11328)
@@ -258,19 +258,11 @@
 	savings add up).
 </p>
 <p>
-	To examine a busybox binary with an eye to saving bytes, build an
-	optimized debug version and run the "nm" command against it, like so:
+	The busybox Makefile can generate a report of how much space is actually
+	being used by each function and variable.  Run "<b>make sizes</b>" (preferably
+	with CONFIG_DEBUG off) to get a list of symbols and the amount of
+	space allocated for each one, sorted by size.
 </p>
-<p>
-	make clean && make STRIPCMD=/bin/true && nm --size-sort busybox
-</p>
-<p>
-	This gives a list of symbols and the amount of space allocated for
-	each one, sorted by size.  (Note: do not enable CONFIG_DEBUG for this,
-	as that disables compiler optimization which is great for running gdb
-	but misleading when trying to figure out how much space each component
-	is really using under normal circumstances.)
-</p>
 <hr />
 
 




More information about the busybox-cvs mailing list