devel/linux_devtools question
andrew clarke
mail at ozzmosis.com
Sat Jul 10 00:57:23 PDT 2004
On Sat, Jul 10, 2004 at 09:35:00AM +0200, Michael Nottebrock wrote:
> > Without errno.h you can't even build many ISO C programs. :)
>
> That's a different errno.h though - it is located in the toplevel include dir
> (/usr/include/errno.h), it's a standard libc header. linux/errno.h on the
> other hand is a kernel specific header.
Yes, but clearly /usr/include/errno.h requires /usr/include/bits/errno.h
which requires /usr/include/linux/errno.h.
... and for those playing at home, /usr/include/linux/errno.h requires
/usr/include/linux/asm/errno.h, where /usr/include/linux/asm is a
symlink to /usr/include/linux/asm-i386. For the Linux 2.2.26 kernel,
anyway.
Phew. ;)
More information about the freebsd-ports
mailing list