diff options
Diffstat (limited to 'mdk-stage1/dietlibc/FAQ')
-rw-r--r-- | mdk-stage1/dietlibc/FAQ | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/FAQ b/mdk-stage1/dietlibc/FAQ index 02bae3dcd..d6595dcc9 100644 --- a/mdk-stage1/dietlibc/FAQ +++ b/mdk-stage1/dietlibc/FAQ @@ -207,3 +207,18 @@ A: The diet libc is also useful for servers because it can improve Please see http://www.fefe.de/fnord/ (in particular .../fnord/SPEED) for an example and/or read http://www.fefe.de/talk.pdf for some benchmarks. + + +Q: I just compiled hello world and the binary is larger than with glibc! +A: You forgot to add the dynamic glibc to your size comparison. Please + use -static when linking with glibc to see the difference. + + +Q: Should I compile my kernel with the diet libc? +A: The kernel is not linked against any libc. In fact, the libc is the + user space interface to the kernel. So unless you are talking about + "user mode linux" (which is a special version of the kernel that + happens to be a user space program) you cannot link the kernel + against the diet libc. Linking user space Linux with the diet libc + should be possible in theory but I don't think anyone has actually + tried it. |