I'm trying to build cross compiler for arm (target=arm-linux-gnueabihf
)
from GCC 4.6
source code, with option -with-float=hard
.
My compilation process fails on libgcc (unable to find /asm/errno.h file
), I suppose I've used wrong sysroot
Configuration options:
--with-float=hard --with-mode=thumb --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-bootstrap --disable-libgomp --disable-libsanitizer --enable-bootstrap=no --target=arm-linux-gnueabihf --with-sysroot=$sysroot --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16
$sysroot
it's local sysroot /usr/
host
=linux-x86_64
Does any body know how to build arm hard float cross-compiler, based on gcc 4.6
?