avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Problems compiling for AT90USB162


From: Nicholas Vinen
Subject: [avr-gcc-list] Problems compiling for AT90USB162
Date: Tue, 18 Nov 2008 12:48:42 +1100
User-agent: Thunderbird 2.0.0.17 (X11/20081006)

Hi,

I've been having problems for a while with various versions of avr-gcc,
avr-libc and avr-binutils compiling for this target.

As far as I know I'm using the latest release versions of each tool (see
below) and I get this error:

avr-gcc 4.3.2 (Gentoo 4.3.2 p1.0)
avr-binutils 2.19
avr-libc 1.6.2

The problem:

$ echo 'int main(void) { return 0; }' > test.c
$ avr-gcc -Os -Wall -mmcu=at90usb162 -o test.o test.c
/usr/libexec/gcc/avr/ld: avr:4 architecture of input file
`/usr/lib/gcc/avr/4.3.2/../../../../avr/lib/avr35/crtusb162.o' is
incompatible with avr:3 output
/usr/libexec/gcc/avr/ld: avr:4 architecture of input file
`/tmp/cc4DQkkx.o' is incompatible with avr:3 output

This didn't happen with avr-gcc 4.1.2, however that version has its own
share of problems, which I have had to work around in order to be able
to compile for this device. It works but it's very frustrating.


Thanks,

Nicholas.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]