
17 Aug
2005
17 Aug
'05
10:08 a.m.
In message 1124262461.16175.22.camel@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@denx.de
People with narrow minds usually have broad tongues.