Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch



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@localhost>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>




Home | Main Index | Thread Index | Old Index