I'm having problems compiling the latest gcc from atmel (avr32-gcc-4.2.1-atmel.1.0.3.tar.gz), just after make and make install with binutils.
at the end of doing
./configure --target=avr32-linux --enable-languages=c --disable-threads --disable-libmudflap --disable-libssp --prefix=/usr/local
checking for sys/stat.h... (cached) no checking for stdlib.h... (cached) no checking for string.h... (cached) no checking for memory.h... no checking for strings.h... (cached) no checking for inttypes.h... no checking for stdint.h... (cached) no checking for unistd.h... (cached) no checking for int... no checking size of int... 0 checking for uintptr_t... no checking for a 64-bit type... unsigned long long checking for pid_t... no checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make: *** [configure-target-libiberty] Error 1 make: Leaving directory `/root/compile/avr32/gcc-4.2.1'
I get this error with both debian unstable and Linux Mint distros. Any idea how to solve it? I read there might be a problem with autoconf.
seems to be a problem with bootstraping.. the configura script can't find libc or equivalents, yet.. I read something about --enable-bootstrap on forums. I will try it and keep the post updated. thanks