From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Wed, 20 Aug 2014 12:23:38 +0200 Subject: [U-Boot] Recommended MIPS toolchain In-Reply-To: References: Message-ID: <53F4772A.3080601@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- - Daniel