[Top] [All Lists]

Re: CVS linux

Subject: Re: CVS linux
From: "Maciej W. Rozycki" <>
Date: Thu, 7 Jul 2005 12:32:29 +0100 (BST)
In-reply-to: <>
Original-recipient: rfc822;
References: <>
On Thu, 7 Jul 2005 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.


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