Re: CVS Update@xxxxxxxxxxxxxx: linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maciej W. Rozycki wrote:
> On Thu, 7 Jul 2005 ths@xxxxxxxxxxxxxx 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux