Re: [U-Boot] [PATCH] x86: Enable 32-bit build using x86_64 multilib toolchain
On 11 June 2014 22:37, Simon Glass s...@chromium.org wrote: On 10 June 2014 09:14, Vasili Galka vvv...@gmail.com wrote: Until now building the x86 arch boards required 32-bit toolchain. As many x86_64 toolchains come with 32-bit support (multilib) that's a good idea to enable build with such toolchains. The change required was to specify the usage of 32-bit explicitly to the compiler and the linker (-m32 and -m elf_i386 flags) and locate the right libgcc path. Signed-off-by: Vasili Galka vvv...@gmail.com --- For example on x86_64 Ubuntu sudo apt-get install gcc-multilib is enough and no need to install additional 32-bit toolchain. This seems reasonable to me. Acked-by: Simon Glass s...@chromium.org Applied to u-boot-x86/sandbox, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] x86: Enable 32-bit build using x86_64 multilib toolchain
On 10 June 2014 09:14, Vasili Galka vvv...@gmail.com wrote: Until now building the x86 arch boards required 32-bit toolchain. As many x86_64 toolchains come with 32-bit support (multilib) that's a good idea to enable build with such toolchains. The change required was to specify the usage of 32-bit explicitly to the compiler and the linker (-m32 and -m elf_i386 flags) and locate the right libgcc path. Signed-off-by: Vasili Galka vvv...@gmail.com --- For example on x86_64 Ubuntu sudo apt-get install gcc-multilib is enough and no need to install additional 32-bit toolchain. This seems reasonable to me. Acked-by: Simon Glass s...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot