
On 20.08.2014 11:35, Vasili Galka wrote:
Hi,
What is the recommended tool-chain to verify compilation of MIPS boards?
you could try
Denx ELDK 5.5 for MIPS http://www.denx.de/wiki/ELDK-5/WebHome
or
Mentor Sourcery CodeBench Lite Edition for MIPS ELF https://sourcery.mentor.com/GNUToolchain/subscription3537?lite=MIPS
I tried the one from https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ But it does not work, throws plenty of errors about hard/soft float.
Similar to ARM you can use the built-in libgcc implementation of U-Boot with "export USE_PRIVATE_LIBGCC=yes" (before Kbuild/Kconfig) or "CONFIG_USE_PRIVATE_LIBGCC=y".
Actually you would need a full multilib toolchain with different libgcc or multiple toolchains to build all BE/LE and hard-float/soft-float variants. But that is not feasible, so you should always set USE_PRIVATE_LIBGCC. USE_PRIVATE_LIBGCC is also required for ELDK toolchains.
BTW: "MAKEALL -a mips" with the kernel.org toolchain and USE_PRIVATE_LIBGCC works