diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-01 19:27:17 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-01 19:27:17 +0000 |
commit | f378fced43edd9c4ae4a31117b74f467dcd75f01 (patch) | |
tree | 010e46e32e1df09e987a340838ca6bc67c28531d | |
parent | 4625240674fa428bbc54dac074182d58accfb7da (diff) | |
download | busybox-w32-f378fced43edd9c4ae4a31117b74f467dcd75f01.tar.gz busybox-w32-f378fced43edd9c4ae4a31117b74f467dcd75f01.tar.bz2 busybox-w32-f378fced43edd9c4ae4a31117b74f467dcd75f01.zip |
Note how to find list of BusyBox libc dependancies, the ide being to
limit them much more.
-Erik
-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... | |||
35 | 35 | ||
36 | ----------------------- | 36 | ----------------------- |
37 | 37 | ||
38 | Running the following: | ||
39 | |||
40 | make LDFLAGS+=-nostdlib 2>&1 | sed -ne 's/.*undefined reference to `\(.*\)..*/\1/gp' | sort | uniq | ||
41 | |||
42 | reveals the list of all external (i.e. libc) things that BusyBox depends on. | ||
43 | It would be a very nice thing to reduce this list to an absolute minimum, and | ||
44 | then create a microLibc to provide these functions. There is no good reason | ||
45 | for GNU libc to be so big. I'm sure it can be a lot better. | ||
46 | |||
47 | |||
48 | ----------------------- | ||
49 | |||
38 | Compile with debugging on, run 'nm --size-sort ./busybox' | 50 | Compile with debugging on, run 'nm --size-sort ./busybox' |
39 | and then start with the biggest things and make them smaller... | 51 | and then start with the biggest things and make them smaller... |
40 | 52 | ||