I tried to make a new linux release on my RedHat 7.1 box.
First I configured, compiled and installed binutils:
./configure --target=avr --exec-prefix=/opt/avrgcc --prefix=/opt/avrgcc
--disable-nls
make
make install
-> everything OK
Appended /opt/avrgcc/bin to the PATH
Then I configured gcc with:
./configure --target=avr --exec-prefix=/opt/avrgcc --prefix=/opt/avrgcc
--disable-nls --enable-language=c
After compiling a lot of stuff I get this error:
checking whether the C compiler (/tmp/gcc-3.0.1/gcc/xgcc
-B/tmp/gcc-3.0.1/gcc/ -B/opt/avrgcc/avr/bin/ -B/opt/avrgcc/avr/lib/
-isystem /opt/avrgcc/avr/include -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make: *** [configure-target-libiberty] Fehler 1