From: Erik Andersen Date: Mon, 1 May 2000 19:27:17 +0000 (-0000) Subject: Note how to find list of BusyBox libc dependancies, the ide being to X-Git-Tag: 0_45~138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f378fced43edd9c4ae4a31117b74f467dcd75f01;p=oweals%2Fbusybox.git Note how to find list of BusyBox libc dependancies, the ide being to limit them much more. -Erik --- 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'