
10 Aug
2005
10 Aug
'05
11:13 a.m.
Hi
But, this way you need two toolchains :-(
Two - or one that can be called using different names (like the ELDK does).
Different names? What about default endianness?
This is in the mipsel-linux-gcc -dumpspecs: *multilib_defaults: EL mips1 mabi=32
And in the mips-linux-gcc -dumpspecs: *multilib_defaults: EB mips1 mabi=32
Ummm... How is this handled in the Linux kernel?
In .config: CONFIG_CPU_LITTLE_ENDIAN=y or CONFIG_CPU_BIG_ENDIAN=y
Actually, when you're building toolchains for MIPS with crosstool, the difference between the mipsel(EL) and mips(BE) is in kernel config file, which sets the endianness for the toolchain.
BR, Matej