diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-01 23:27:17 +0400 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-01 23:27:17 +0400 |
commit | f378fced43edd9c4ae4a31117b74f467dcd75f01 (patch) | |
tree | 010e46e32e1df09e987a340838ca6bc67c28531d /TODO | |
parent | 4625240674fa428bbc54dac074182d58accfb7da (diff) |
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-- | TODO | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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... |