On Wednesday 15 March 2006 19:36, Roger Blake wrote: > >Having done some research on this, Jim's script (with all the help he's > >been getting on the lists and IRC) looks like the best bet. It's also > >the 'Right Way Forward' (tm), as it will deal with the increasing > >complexity of the Linux kernel. The trick will be making it work for > >all the arches.
[...] > The best solution *would* have been be that proposed on the LKML for a > seperation into ABI headers but it does not seem that will happen in any > sensible timescale - if ever. So I guess it's up to another group to > take on this task and I'd have to say that LFS seems the best placed. > Certainly not glibc. (glibc requires about 75 headers for i386 only). I believe that i don't understand the whole thing about kernel headers and sanitized headers, so please simply tell me that i'm stupid if i am ;-) Isn't it possible to alter the _real_ kernel headers with a makro/comment/marker at those headers, that are important for users space headers? This would make it possible for a make target or a script to extract the sanitized headers from the real kernel headers. ...well, i might as well miss the point. So what do you think? My thought of the logic: content of mykernelheader.h: ---------------------------- <...> /* BEGIN USERSPACE HEADER */ ... ...some header important for userspace... ... /* END USERSPACE HEADER */ <...> > I think eventually we need to go through each header identifying *and > documenting* every piece of code to be included/removed. That really is > the only way, and obviously it is a pretty massive + longer-term task. I guess that's similar to what i proposed above, so i might not be too wrong ;-) Well, thats my 2 cent. But i'm only a translator and i'm not too deep into all this stuff. Bye, Thomas -- There are 10 kind of people. Those who understand binary, and those who don't.
pgpZeC6B2PYpV.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page