[U-Boot-Users] Re: MIPS LE build problems

Wolfgang Denk wd at denx.de
Wed Aug 17 10:08:42 CEST 2005


In message <1124262461.16175.22.camel at localhost.localdomain> you wrote:
> 
> I tested this with two toolchains, BE and LE and Wolfgang is right that
> the toolchain knows what endianness should be. Well this is partly true,
> because this is know to gcc (look at the -dumpspecs) but not to the
> linker, because in the linker script for the board
> endianness (OUTPUT_FORMAT(default, big, little)).

So is there a clever way to "ask" gcc which endianess it's using? 
I tried to come up with one but failed so far...

> Did I miss something, or is this correct?

I think rhis is correct.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
People with narrow minds usually have broad tongues.




More information about the U-Boot mailing list