
26 Jun
2014
26 Jun
'14
4:19 a.m.
On 11 June 2014 22:37, Simon Glass sjg@chromium.org wrote:
On 10 June 2014 09:14, Vasili Galka vvv444@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 vvv444@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 sjg@chromium.org
Applied to u-boot-x86/sandbox, thanks!