Failed build of AVR cross-compiler with combined tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I downloaded the binutils-2.17 and gcc-3.4.6 distributions and
attempted to build a cross-compiler for AVR using the following:

tar -xvjf binutils-2.17.tar.bz2
tar -xvjf gcc-3.4.6.tar.bz2
mkdir combined-tree && cd combined_tree
../binutils-2.17/symlink-tree ../gcc-3.4.6
../binutils-2.17/symlink-tree ../binutils-2.17
mkdir ../build && cd ../build
../combined_tree/configure --target=avr --enable-languages=c
--prefix=/home/ulf/devel/avr/avr-gcc

The configuration step seems to go through fine, but after issuing
'make', the build process fails with the following error:

make[2]: Entering directory '/home/ulf/devel/avr/gcc/build/gcc'
./gengtype
../../combined-tree/gcc/../include/hashtab.h:111: syntax error,
unexpected ',', expecting '('
make[2]: *** [s-gtype] Error 1

Could the problem be that I'm combining versions of gcc and binutils
that should not be mixed? What versions are "safe" to combine in that
case?

Should I report this as a bug?

/Ulf Magnusson

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux