[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Problems compiling avr-gcc
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Problems compiling avr-gcc |
Date: |
Fri, 9 Feb 2007 10:58:03 +0100 (MET) |
In article <address@hidden> you write:
>../configure --target=avr --prefix=/usr/local/avr4 --with-dwarf2
>--enable-languages=c,c++ --disable-libssp --disable-nls
>/usr/local/avr4/bin/avr-as: unrecognized option `-Qy'
For whatever reason, it's confusing the host system's compiler/assembler options
with the target options. -Qy is an option to System V Release 4 (UNIX, "SVR4")
assemblers, which is effectively ignored in gas.
You can try stracing that part of the build:
strace -o logfile -f make
Then look into the logfile for all the files it is opening, and the
commands it is executing.
Just to make sure: you did configure your avr-binutils with the same prefix,
did you?
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)