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

[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
/usr/local/bin/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
/usr/local/avr/lib/crts1200.o
/usr/local/avr/lib/crts2313.o
/usr/local/avr/lib/crts2323.o
/usr/local/avr/lib/crts2333.o
/usr/local/avr/lib/crts2343.o
/usr/local/avr/lib/crts4414.o
/usr/local/avr/lib/crts4433.o
/usr/local/avr/lib/crts4434.o
/usr/local/avr/lib/crts8515.o
/usr/local/avr/lib/crts8535.o
/usr/local/avr/lib/crtc8534.o
/usr/local/avr/lib/crttn11.o
/usr/local/avr/lib/crttn12.o
/usr/local/avr/lib/crttn15.o
/usr/local/avr/lib/crttn28.o
/usr/local/avr/lib/crttn22.o
/usr/local/avr/lib/avr3/crtm103.o
/usr/local/avr/lib/avr3/crtm603.o
/usr/local/avr/lib/avr3/crt43320.o
/usr/local/avr/lib/avr3/crt43355.o
/usr/local/avr/lib/avr3/crt76711.o
/usr/local/avr/lib/avr4/crtm83.o
/usr/local/avr/lib/avr4/crtm8.o
/usr/local/avr/lib/avr4/crtm8515.o
/usr/local/avr/lib/avr4/crtm8535.o
/usr/local/avr/lib/avr5/crtm161.o
/usr/local/avr/lib/avr5/crtm163.o
/usr/local/avr/lib/avr5/crtm32.o
/usr/local/avr/lib/avr5/crtat94k.o
/usr/local/avr/lib/avr5/crtm162.o
/usr/local/avr/lib/avr5/crtm169.o
/usr/local/avr/lib/avr5/crtm323.o
/usr/local/avr/lib/avr5/crtm128.o
/usr/local/avr/lib/avr5/crtm16.o
/usr/local/avr/lib/avr5/crtm64.o
/usr/local/avr/lib/crttn26.o
/usr/local/avr/lib/crt86401.o
/usr/local/avr/lib/crttn13.o
/usr/local/avr/lib/crttn2313.o
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.
-- 
address@hidden

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




reply via email to

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