From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:04:30 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D18EE1065670 for ; Tue, 12 Jan 2010 21:04:30 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id F02BA8FC1A for ; Tue, 12 Jan 2010 21:04:29 +0000 (UTC) Received: (qmail 18797 invoked by uid 0); 12 Jan 2010 21:04:27 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp7.knology.net with SMTP; 12 Jan 2010 21:04:27 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 3018E28435; Tue, 12 Jan 2010 15:04:27 -0600 (CST) Date: Tue, 12 Jan 2010 15:04:27 -0600 From: David Kelly To: Rob Farmer Message-ID: <20100112210427.GB18673@Grumpy.DynDNS.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: questions@freebsd.org Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD-Questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 21:04:30 -0000 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. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.