On Die, 2006-05-30 at 12:02 -0700, Jim Gifford wrote: > The one thing I've realize working on this is that, not everything in > the headers will work out of the box, good example is the paging size > stuff, that requires a glibc function to get it done right. If depends > on the config.h that is produced during make config stages.
Haven't the macros PAGE_SIZE and PAGE_SHIFT been declared as deprecated a long time ago (for userspace) and applications should directly use libc functions to get that information? So the definitions in your sanitized header file would just be backward compatibility helpers and shouldn't be required with correct applications or am I missing something? Do you know some packages which depend on these defines? Jürg -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page