What steps need to exercise to compile gcc with target
'arm-linux-androideabi'?
If i try to compile with specific target i get following error:
checking for suffix of object files... configure: error: in
`~/BUILD/gcc-4.6.3/build/arm-linux-androideabi/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Yes I read the FAQ and see that for compile needed library GMP, MPC and
MPFR and use BUILD/gcc-4.6.3/src/contrib/download_prerequisites script
for download these (and i have also installed it's libraries in my
system Fedora 16 i686) and compile with --prefix=/tmp/toolchain/temp-install
I configure gcc with following parameters:
./../src/configure
--target=arm-linux-androideabi
--prefix=/tmp/toolchain/prefix
--with-gmp=/tmp/toolchain/temp-install
--with-mpfr=/tmp/toolchain/temp-install
--with-mpc=/tmp/toolchain/temp-install
--without-ppl
--without-cloog
--with-arch=armv5te
--enable-languages=c,c++
In google i found information that for cross compile needed compile in
two steps (precompile and postcompile). Is there a manual somewhere of
this process? How i must compile GMP, MPC and MPFR (must also specify
target)? whether i need to compile binutils separately and also specify
target?
Thanks, Habibutsu