On Sun, Oct 29, 2000 at 06:37:05PM +1100, Glenn McGrath wrote: > > I guess i should just find a way to ignore endian related code when > compiling under the Hurd.
Not at all. In addition to what Nils said, there is a very easy way to find the endianess of the system with an autoconf check at compile time. That's much better than using a system specific obscure header file. Of course, that means adding the byte swap in the program, instead in relying this to be done by the macros in the header. But that's not hard to do. The endian check of autoconf works on all systems. If it doesn't use autoconf, it should :) Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de

