[En-Nut-Discussion] WinAVR-20070101_install

Ernst Stippl ernst at stippl.org
Mon Jan 8 22:58:50 CET 2007


Hi!

I downloaded WinAVR-20070101_install.exe, installed it and tried to compile
Ethernut 4.2.1. 
gcc choked on compiling 'UsartIOCtl':




I:\ethernut_4.2.1>path=i:\ethernut_4.1.1\nut\tools\win32;i:\winavr_4.1.1\bin
;i:\winavr_4.1.1\utils\bin;k:\windows;k:\windows\system32;k:\windows\system3
2;wbem; 

I:\ethernut_4.2.1>nutconfigure -a./nutapp_avr_4.1.1
-c./nut/conf/ethernut21b.conf -mavr-gcc -b./nutbld_avr_4.1.1
create-buildtree 
nutconfigure 1.3.1
Loading ./nut/conf/repository.nut...OK
Loading ./nut/conf/ethernut21b.conf...OK
Creating Makefiles for avr-gcc in ./nutbld_avr_4.1.1...OK
Creating header files in ./nutbld_avr_4.1.1...OK

I:\ethernut_4.2.1>cd nutbld_avr_4.1.1 

I:\ethernut_4.2.1\nutbld_avr_4.1.1>make  clean 1>makeclean.txt 

I:\ethernut_4.2.1\nutbld_avr_4.1.1>make  install 1>..\c421c411avr.txt 
avr-ar: creating libnutarch.a
avr-ar: creating libnutos.a
../.././nut/dev/usart.c: In function 'UsartIOCtl':
../.././nut/dev/usart.c:844: error: unable to find a register to spill in
class 'BASE_POINTER_REGS'
../.././nut/dev/usart.c:844: error: this is the insn:
(insn 663 162 163 14 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28)
                (const_int 1 [0x1])) [29 S2 A8])
        (reg:HI 24 r24)) 12 {*movhi} (nil)
    (nil))
../.././nut/dev/usart.c:844: confused by earlier errors, bailing out
make[1]: *** [usart.o] Error 1
make: *** [install] Error 2 



Has anybody used WinAVR 4.1.1 gcc successfully?

Regards
Ernst




More information about the En-Nut-Discussion mailing list