http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54996



             Bug #: 54996

           Summary: gcc with --target=avr fails to build

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: target

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: lvd....@gmail.com





Trying to build avr 4.7.2 gcc with following commands:



./configure --target=avr --enable-languages=c --disable-nls --disable-libssp

--with-dwarf2 --prefix=/tmp/avrgcc

PATH="/tmp/abu/bin:${PATH}" make



where /tmp/abu/bin is temporary build of avr binutils:

>/tmp/abu/bin/avr-as --version

GNU assembler (GNU Binutils) 2.22.90.20120727

built like:

./configure --prefix=/tmp/abu --program-prefix=avr- --target=avr

make

make install





Get an error:

/tmp/abu/bin/avr-as: unrecognized option '--64'





system used to build: ubuntu 12.04

>uname -a

Linux uebuntu 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012

x86_64 x86_64 x86_64 GNU/Linux

>gcc --version

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

>as --version

GNU assembler (GNU Binutils for Ubuntu) 2.22

Reply via email to