aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-05 10:25:51 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-05 10:25:51 +0000
commit6edba0698db05b8cda5191497b1860fd6bb98376 (patch)
tree9f8fac7f534493d9b65a528fd5fd39de1a72d818 /docs
parentce9501f8e5029929859d0953c1bde6deca379812 (diff)
downloadbusybox-w32-6edba0698db05b8cda5191497b1860fd6bb98376.tar.gz
busybox-w32-6edba0698db05b8cda5191497b1860fd6bb98376.tar.bz2
busybox-w32-6edba0698db05b8cda5191497b1860fd6bb98376.zip
Now that "make sizes" is in, the faq should mention it...
git-svn-id: svn://busybox.net/trunk/busybox@11328 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.net/FAQ.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/docs/busybox.net/FAQ.html b/docs/busybox.net/FAQ.html
index 5090c41c2..67c696c4c 100644
--- a/docs/busybox.net/FAQ.html
+++ b/docs/busybox.net/FAQ.html
@@ -258,18 +258,10 @@ have additions to this FAQ document, we would love to add them,
258 savings add up). 258 savings add up).
259</p> 259</p>
260<p> 260<p>
261 To examine a busybox binary with an eye to saving bytes, build an 261 The busybox Makefile can generate a report of how much space is actually
262 optimized debug version and run the "nm" command against it, like so: 262 being used by each function and variable. Run "<b>make sizes</b>" (preferably
263</p> 263 with CONFIG_DEBUG off) to get a list of symbols and the amount of
264<p> 264 space allocated for each one, sorted by size.
265 make clean && make STRIPCMD=/bin/true && nm --size-sort busybox
266</p>
267<p>
268 This gives a list of symbols and the amount of space allocated for
269 each one, sorted by size. (Note: do not enable CONFIG_DEBUG for this,
270 as that disables compiler optimization which is great for running gdb
271 but misleading when trying to figure out how much space each component
272 is really using under normal circumstances.)
273</p> 265</p>
274<hr /> 266<hr />
275 267