From f378fced43edd9c4ae4a31117b74f467dcd75f01 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Mon, 1 May 2000 19:27:17 +0000 Subject: [PATCH] Note how to find list of BusyBox libc dependancies, the ide being to limit them much more. -Erik --- TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO b/TODO index 5c642cb8d..8b4279d87 100644 --- a/TODO +++ b/TODO @@ -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 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' -- 2.25.1