This is the mail archive of the
mailing list for the GCC project.
configure issue during make of avr-elf
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: GCC List <gcc at gcc dot gnu dot org>, "josh dot switnicki at utoronto dot ca" <josh dot switnicki at utoronto dot ca>
- Date: Thu, 14 May 2009 22:32:23 -0500
- Subject: configure issue during make of avr-elf
One of the RTEMS GSoC students is running into a
problem building avr-elf toolset as a precursor
to modifying avr-rtems. Josh is getting an
error which indicates a configure inconsistency.
I have tried building this toolset on two
different machines and have no problems.
I even sent him a script which starts by
checking binutils, gcc, and newlib out of cvs/svn,
setting up the tree and building it. It still fails
for him and works for me. I see nothing in our
environments (both Fedora 10) to hint at the problem.
target is avr-elf with newlib.
Here is the error from the make
Configuring in avr-elf/libgcc
configure: loading cache ./config.cache
configure: error: `CC' has changed since the previous run:
configure: former value: `/home/cain/avr-tools/gcc/./gcc/xgcc
configure: current value: `/home/cain/avr-tools/gcc/./gcc/xgcc
configure: error: in `/home/cain/avr-tools/gcc/avr-elf/libgcc':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and
make: *** [configure-target-libgcc] Error 1
make: Leaving directory `/home/cain/avr-tools/gcc'
I see an old message that this can be worked around by a
hack in the top level Makefile.in but the file looks very
different now and this message didn't explain the failure.
Any ideas on this one?