summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-01 19:27:17 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-01 19:27:17 +0000
commitf378fced43edd9c4ae4a31117b74f467dcd75f01 (patch)
tree010e46e32e1df09e987a340838ca6bc67c28531d /TODO
parent4625240674fa428bbc54dac074182d58accfb7da (diff)
downloadbusybox-f378fced43edd9c4ae4a31117b74f467dcd75f01.tar.gz
Note how to find list of BusyBox libc dependancies, the ide being to
limit them much more. -Erik
Diffstat (limited to 'TODO')
-rw-r--r--TODO12
1 files changed, 12 insertions, 0 deletions
diff --git a/TODO b/TODO
index 5c642cb8d..8b4279d87 100644
--- a/TODO
+++ b/TODO
@@ -35,6 +35,18 @@ and usage information. Some folks don't need or want it...
-----------------------
+Running the following:
+
+ make LDFLAGS+=-nostdlib 2>&1 | sed -ne 's/.*undefined reference to `\(.*\)..*/\1/gp' | sort | uniq
+
+reveals the list of all external (i.e. libc) things that BusyBox depends on.
+It would be a very nice thing to reduce this list to an absolute minimum, and
+then create a microLibc to provide these functions. There is no good reason
+for GNU libc to be so big. I'm sure it can be a lot better.
+
+
+-----------------------
+
Compile with debugging on, run 'nm --size-sort ./busybox'
and then start with the biggest things and make them smaller...