Date: Tue, 12 Jan 2010 22:16:49 +0100 From: Rolf G Nielsen <lazlar@lazlarlyricon.com> To: FreeBSD-Questions@freebsd.org Cc: David Kelly <dkelly@hiwaay.net>, Rob Farmer <rfarmer@predatorlabs.net>, questions@freebsd.org Subject: Re: Endianness Message-ID: <4B4CE6C1.307@lazlarlyricon.com> In-Reply-To: <20100112210427.GB18673@Grumpy.DynDNS.org> References: <b025ceb71001121251m77ae380fs129699f7bd2a896e@mail.gmail.com> <20100112210427.GB18673@Grumpy.DynDNS.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-01-12 22:04, David Kelly wrote: > On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: >> I'm trying to create a port of an application which only works on >> little endian systems and I'm trying to figure out how to set >> ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian >> and the OS chooses the mode. I'm not familiar with these platforms - >> I'm sure it has been answered somewhere, but I can't find it - which >> FreeBSD archs are little/big endian? Thanks. > > i386 is little endian. Would expect ia64 to be the same. > ia64 (Itanium) hardware has selectable endianess. I've never worked with Itanium in any OS, so I can't say whether FreeBSD supports selecting or is fixed at either little- or bigendian.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4CE6C1.307>