linux-mips
[Top] [All Lists]

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

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: CVS Update@linux-mips.org: linux
From: Thiemo Seufer <ths@networkno.de>
Date: Thu, 7 Jul 2005 14:12:35 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.61L.0507071227170.3205@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050707091937Z8226163-3678+1737@linux-mips.org> <Pine.LNX.4.61L.0507071227170.3205@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.9i
Maciej W. Rozycki wrote:
> 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.

-mel/-meb aren't documented.


Thiemo

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