Crossed native compiler
Marc Glisse
marc.glisse@inria.fr
Wed Oct 1 15:49:00 GMT 2014
On Wed, 1 Oct 2014, BERTRAND Joël wrote:
> I'm trying to build a crossed native gcc 4.9.1 for arm (linux) on a
> x86 host. Thus, I have tried to configure gcc tree with :
>
> ../gcc-4.9.1/configure --target=arm-cortexa9_neon-linux-gnueabihf
> --enable-languages=c,c++,fortran --enable-bootstrap
> --with-gmp=/home/bertrand/cross --prefix=/home/bertrand/q7
> --with-build-sysroot=/home/bertrand/x-tools/arm-cortexa9_neon-linux-gnueabihf/arm-cortexa9_neon-linux-gnueabihf/sysroot
> --disable-threads --build=x86_64-unknown-linux-gnu
> --host=arm-cortexa9_neon-linux-gnueabihf
>
> Build aborts in stage 2 with :
Bootstrapping seems like a strange idea for a cross-compilation. Does it
work better without bootstrap?
You could bootstrap a native x86_64-unknown-linux-gnu and make sure you
use that one for your (non-bootstrap) cross-build.
--
Marc Glisse
More information about the Gcc-help
mailing list