Note how to find list of BusyBox libc dependancies, the ide being to

limit them much more.
 -Erik
This commit is contained in:
Erik Andersen 2000-05-01 19:27:17 +00:00
parent 4625240674
commit f378fced43

12
TODO
View File

@ -33,6 +33,18 @@ around to it some time. If you have any good ideas, please let me know.
Add a compile option to turn off all the compiled in help Add a compile option to turn off all the compiled in help
and usage information. Some folks don't need or want it... 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' Compile with debugging on, run 'nm --size-sort ./busybox'