Subject: Re: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: source-changes
Date: 10/28/2003 13:56:25
On Tue, Oct 28, 2003 at 16:50:21 +1100, Luke Mewburn wrote:
> On Mon, Oct 27, 2003 at 11:14:08PM -0600, James Chacon wrote:
> | We provide that in nbcompat? The specific thing I was fixing here
> | was tools/ lossage from hosting on non-NetBSD for cross building.
>
> Yes, we do; look at tools/compat/compat_defs.h.
> usr.sbin/installboot uses these macros and it cross builds fine.
I think the config test for sys/endian.h is too coarse. I.e. a host
that have sys/endian.h, but the one which doesn't provide all the
atob* functions that ours does (e.g. FreeBSD) - will have build
problems.
I have been doing
export ac_cv_header_sys_endian_h=no
in my build.sh wrapper for a long time (since I switched to FreeBSD
4.8 sometime in the summer), so that I just don't have to care.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen