On Mon, Aug 08, 2005 at 08:50:51PM +0200, Christoph Hellwig wrote: > On Mon, Aug 08, 2005 at 05:30:48PM +0200, Andreas Jochens wrote: > > > never use kernel headers from userland. Use glibc-kerneheaders which in > > > already does the proper redirecting of /usr/include/asm/ to 32 or 64 bit > > > versions depending on whether you're compiling with -m64 or not. > > > > How does this redirection work? > > Look at any file in /usr/include/asm/ on a current sid system ;-)
I've got no idea what you mean here, Christoph, which is funny since I built the kernel headers packages that Debian's using in the first place. We don't use glibc-kernheaders. We use a package called linux-kernel-headers, which is exactly what Andreas filed a bug against in the first place. Sid's /usr/include/asm doesn't use wrappers on most platforms. On ia32 it will if you've got amd64-libs-dev installed. Sparc does this in l-k-h already. You're right that we should do the same for ia32/amd64 and ppc/ppc64 as we do for sparc. -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]