I meet some troubles during the installation of avr-gcc. The OS is FreeBSD 6.2, gcc version: gcc-4.1.2
I did the following steps: #cd gcc-4.1.2 #./configure --target=avr --prefix=/usr/local/avr --disable-nls --enable-language=c
#make
I get the following error message: ----------------------------------- srcdir="../.././fixincludes" /bin/sh ../.././fixincludes/mkfixinc.sh avr-unknown-none sed -e 's/@gcc_version@//' < > mkheadersT
Syntax error: redirection unexpected *** Error code 2
Stop in /usr/ports/distfiles/gcc-4.1.2/host-i386-unknown-freebsd6.2/fixincludes. *** Error code 1
Stop in /usr/ports/distfiles/gcc-4.1.2. *** Error code 1
Stop in /usr/ports/distfiles/gcc-4.1.2. -----------------------------------