Subject: Re: bi-endian etc/pwd.db
To: Simon Burge <simonb@wasabisystems.com>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: tech-userlevel
Date: 11/25/2000 18:26:40
Simon Burge wrote:
> Anyone against putting:
>
> TARGET_ENDIANNESS!= \
> printf "\#include <machine/endian_machdep.h>\n_BYTE_ORDER\n" | \
> ${CC} -I${DESTDIR}/usr/include -E - | tail -1
Ah, true :) I was wondering how one can make echo print newline portably
and forgot printf completely :)
Yes, this seems to be right solution. I think it should be changed to this
in the Makefile.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, damn! @@@@