[Top][All Lists]

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

Re: [avr-gcc-list] Help Patching gcc for mega48/88

From: Andy Warner
Subject: Re: [avr-gcc-list] Help Patching gcc for mega48/88
Date: Thu, 17 Mar 2005 14:39:43 -0600
User-agent: Mutt/1.2.5i

address@hidden wrote:
> [mega48 build probs with crtm48.o not found...]
>    > You need to reconfigure and rebuild avr-lib with the new compiler
>    and
>    > binutils.  avr-libc detects the ability of the compiler to compile
>    for
>    > the new MCU types, and compiles the crt*.o files accordingly.

I too am having problems with this. Fresh avr-libc-1.2.3 does
not build or install files for the mega48 (and others like mega88,
I suspect.)

address@hidden avr-libc-1.2.3]$ which -a avr-gcc
address@hidden avr-libc-1.2.3]$ avr-gcc --target-help
Known MCU names:
  avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12 attiny15
  attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26
  at90s4433 at90s4414 at90s4434 at90s8515 at90s8535 at90c8534 at86rf401
  atmega603 atmega103 at43usb320 at43usb355 at76c711 atmega48 atmega8
  atmega83 atmega85 atmega88 atmega8515 atmega8535 attiny13 attiny2313
  atmega16 atmega161 atmega162 atmega163 atmega168 atmega169 atmega32
  atmega323 atmega64 atmega128 at90can128 at94k
  no emulation specific options.
address@hidden avr-libc-1.2.3]$ ./configure
creating cache ./config.cache
checking host system type... avr-unknown-none
checking if avr-gcc has support for attiny13... yes
checking if avr-gcc has support for attiny2313... yes
updating cache ./config.cache
address@hidden avr-libc-1.2.3]$ make
address@hidden avr-libc-1.2.3]$ sudo make install
address@hidden avr-libc-1.2.3]$ find /usr/local/avr -name "crt*.o" -print
address@hidden avr-libc-1.2.3]$ 

Any suggestions ?

I don't even see configure trying to test for mega48 support, as it
does for tiny13/tiny2313 support.

avr-gcc is 3.4.0, binutils is 2.14, both with patches from savannah to
support the extra targets.

Andy Warner             Voice: (612) 801-8549   Fax: (208) 575-5634

reply via email to

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