This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems in cross compiling GCC
- From: "Ashit Kumar" <u03105 at cs dot unipune dot ernet dot in>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 19 Apr 2006 03:43:47 +0530 (IST)
- Subject: Problems in cross compiling GCC
Hi,
I tried to cross compile the GCC.I first configured,make and make install
the binutils and newlibc respectively.Then i compiled the GCC for
sparc-linux machine.It worked fine.
Then i am trying to cross-compile for the arm-none-eabi but i am getting
the following error
Configuring in ./libiberty
configure: loading cache ./config.cache
configure: error: `target_alias' has changed since the previous run:
configure: former value: sparc-linux
configure: current value: arm-none-eabi
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and
start over
make[1]: *** [configure-libiberty] Error 1
make[1]: Leaving directory
`/resources/u04130/cross_sparc_18apr/combined-arm-none-eabi-4-0-2/src'
make: *** [all] Error 2
Can anyone help me out and figure out what the problem is.
Thanks
Ashit