On Sam, 2006-03-18 at 16:10 +0000, Ken Moffat wrote: > On Sat, 18 Mar 2006, Jrg Billeter wrote: > > > On Sam, 2006-03-18 at 08:56 +0500, Alexander E. Patrakov wrote: > >> Then better make linux/compiler.h an empty file. > > > > If you want to go for best compatibility, sure; I currently aim to get > > the header set as clean as possible, i.e. applications including > > unnecessary header files shall break. For LFS, compatibility is probably > > better for now, though. > > > > Jürg > > FWIW, I couldn't compile glibc-2.4 on x86 (CLFS-style) in the absence > of linux/compiler.h (using 2.6.16-rc6).
Could you post the error message? What exact header set did you use? Just removing linux/compiler.h without removal of compiler.h references and the correct seds for __user etc. is likely to fail. IIRC I've removed linux/compiler.h before my first build attempt and I hadn't got any problems with glibc 2.4 on x86 and x86_64 Jürg -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page