diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-01 19:27:17 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-01 19:27:17 +0000 |
commit | 54e6b47d6661d7570cd57540df61d60b128400d7 (patch) | |
tree | 010e46e32e1df09e987a340838ca6bc67c28531d /TODO | |
parent | 0d3bb89a8ae4d9b51d20565d43db175e688ab6c8 (diff) | |
download | busybox-w32-54e6b47d6661d7570cd57540df61d60b128400d7.tar.gz busybox-w32-54e6b47d6661d7570cd57540df61d60b128400d7.tar.bz2 busybox-w32-54e6b47d6661d7570cd57540df61d60b128400d7.zip |
Note how to find list of BusyBox libc dependancies, the ide being to
limit them much more.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@509 69ca8d6d-28ef-0310-b511-8ec308f3f277
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... | |||
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 | ||