diff options
-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 | ||