On 11/04/2014 09:30 PM, Christer Solskogen wrote: > You must seperatly install gmp,mpfr and mpc into /sysroot before you try > to compile gcc using the cross compiler in /bootstrap. > Also, you only need to compile glibc one time. > > What you can do is to use the --with-build-sysroot. > > Is the whole consept that you are going to copy /sysroot to another > machine? Is the crossed compiler (the one that was compiled using the > cross compiler) supposed to use /sysroot on the target machine as > sysroot? (Because that is a bit of a hack!) > > If not you can do something like this: --with-gmp=/sysroot (you don't > need to add --with-mpfr and --with-mpc as long as you used --with-gmp) > --host=i686-pc-linux-gnu --with-build-sysroot=/sysroot --with-sysroot=/ This is needlessly difficult. Just run contrib/download_prerequisites in the toplev srcdir and compile gmp, mpc and mpfr as part of gcc. Andrew.