[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Error building avr-libc 1.6.8 and with gcc 4.5.0
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Error building avr-libc 1.6.8 and with gcc 4.5.0 |
Date: |
Wed, 28 Apr 2010 14:51:55 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
(Please subscribe to the list, you'll miss replies otherwise.)
As Vidar Vidnes wrote:
> In file included from ../../../../common/macros.inc:39:0,
> from ../../../../crt1/gcrt1.S:38:
> ../../../../include/avr/io.h:404:6: warning: #warning "device type not
> defined"
Herein lies the rub. Somehow, your build process must be busted, and
no (or no appropriate) -mmcu= option passed to the compiler. You
didn't include the compiler command-line in your transcript.
Without a valid MCU name, building gcrt1.S cannot work.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)