Subject: Re: CVS commit: syssrc/sys/arch
To: Simon Burge <simonb@wasabisystems.com>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 06/23/2001 17:05:57
On Sun, 24 Jun 2001, Simon Burge wrote:

> Does this mean that <machine/endian.h> now doesn't exist on cats, dnard
> and netwinder or is the /usr/include/machine symlink done differently on
> arm architectures?

The latter.  Well, it's done differently on cats, dnard and netwinder.
Look in sys/arch/Makefile.  I think matt's plan is that in user-land,
asking for <machine/foo.h> always gets you <arm/foo.h>, and in the kernel
it gets you <$MACHINE/foo.h> if that exists and <arm/foo.h> otherwise.
This should stop user programs being accidentally MACHINE-dependent.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>