[klibc] klibc integrated in the kernel
sam at ravnborg.org
Sat Jul 24 22:44:35 PDT 2004
On Fri, Jul 23, 2004 at 04:08:18PM -0700, hpa at zytor.com wrote:
> Linus has pretty clearly stated that for klibc to be integrated it needs
> to provide actual functionality, i.e. kernel code has to be removed (this
> should presumably be a separate set of patches in a patchset, but still.)
> The obvious candidates are ipconfig/nfsroot; I will spend some more time
> getting the ipconfig/nfsroot klibc utilities to work properly -- I've
> already done a fair bit of debugging, but I need a better test setup.
> I think we're getting pretty close to where we need to be, so with kbuild
> integration we should have something pretty soon.
I had to add kinit & friends already now. So I have used the 0.152 versions.
So far with following directory layout:
usr/lib <= klibc
usr/kinit <= kinit
nfsmount is built as an executable and a built-in.o file.
Same comments as for nfsmount
Are there any need for nfsmount.a (besides kinit)?
I do not include the tests in klibc/tests, and the MAkefile support are deleted.
What about the include files?
- This is where users are used to find headers anyway.
- To make is clear this is about early userspace
kernelsrc/lib/include <= today, but hidden too much.
- Header are for a user more important than implementation.
Preferred alternative listed first..
More information about the klibc