From owner-freebsd-ppc Wed Jun 26 21:28:43 2002 Delivered-To: freebsd-ppc@freebsd.org Received: from gt3.OntheNet.com.au (nt.com.au [203.13.70.61]) by hub.freebsd.org (Postfix) with ESMTP id 2ABCD37B417; Wed, 26 Jun 2002 21:23:15 -0700 (PDT) Received: from ptree32.com.au (CPE-203-45-245-64.qld.bigpond.net.au [203.45.245.64]) by gt3.OntheNet.com.au (8.11.4/8.11.4) with ESMTP id g5R3vhc88978; Thu, 27 Jun 2002 13:57:43 +1000 (EST) Message-ID: <3D1A912F.9BD77FB6@ptree32.com.au> Date: Thu, 27 Jun 2002 14:14:39 +1000 From: Peter Grehan Organization: Ptree32 Pty Ltd X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: obrien@freebsd.org Cc: freebsd-ppc@freebsd.org Subject: gcc3.1, freebsd/ppc, _BIG_ENDIAN ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi David, I just built a 3.1 powerpc cross compiler on a 5.0-DP1 system, and _BIG_ENDIAN ended up being pre-defined, which conflicts with the FreeBSD definitions in all variants of . Should this be fixed in gcc's config/rs6000/freebsd.h ? I noticed that the vxworks config file changed the definition: config/rs6000/vxppc.h: /* Don't define _LITTLE_ENDIAN or _BIG_ENDIAN */ #undef CPP_ENDIAN_BIG_SPEC #define CPP_ENDIAN_BIG_SPEC "-D__BIG_ENDIAN__ -Amachine=bigendian" #undef CPP_ENDIAN_LITTLE_SPEC #define CPP_ENDIAN_LITTLE_SPEC "-D__LITTLE_ENDIAN__ -Amachine=littleendian" later, Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message