linux-mips
[Top] [All Lists]

Re: CVS Update@linux-mips.org: linux

To: linux-mips@linux-mips.org
Subject: Re: CVS Update@linux-mips.org: linux
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Thu, 7 Jul 2005 12:32:29 +0100 (BST)
In-reply-to: <20050707091937Z8226163-3678+1737@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050707091937Z8226163-3678+1737@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 7 Jul 2005 ths@linux-mips.org wrote:

> Log message:
>       Hack to make compiles for the other endianness easier.

 Why have you complicated it that much?  AFAIK:

cflags-$(CONFIG_CPU_BIG_ENDIAN)         += -meb
cflags-$(CONFIG_CPU_LITTLE_ENDIAN)      += -mel

would work just fine with all GCC versions supported (i.e. including 
2.95.x).  It's true "-EL" and "-EB" are broken, also with 4.0.0 (not sure 
if afterwards) -- it's related to an incorrect setup for the default specs 
for Linux, but it can be avoided using these alternative options as above.

  Maciej

<Prev in Thread] Current Thread [Next in Thread>