[En-Nut-Discussion] Error compiling Ethernut-4.2.1 on OSX
Ernst Stippl
ernst at stippl.org
Mon Jul 2 20:51:48 CEST 2007
Hi!
That's a known compiler error. I divided the long switch statement in
usart.c into two, then it compiled correctly.
regards
ernst
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Henk Kampman
Gesendet: Montag, 02. Juli 2007 15:20
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] Error compiling Ethernut-4.2.1 on OSX
Op 2-jul-2007, om 12:19 heeft Ole Reinhardt het volgende geschreven:
> Hi,
>
>> The avr-libc build process moves the includes to:
>>
>> /usr/local/avr/includes
>>
>> Does the ethernut build process expect them at another location?
>
> Normaly the build process expects them in the same directory as the
> compiler lives. For me it's /usr/avr/include
>
> When building avr-libc you could configure your own prefix
>
> ./configure --prefix=/usr
That solved a lot of compilation errors.
But now the compiler (4.0.2) aborts with an internal error:
usart.c:821: error: unable to find a register to spill in class
'BASE_POINTER_REGS'
usart.c:821: error: this is the insn:
(insn 653 159 160 14 (set (mem:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [32 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
usart.c:821: internal compiler error: in spill_failure, at reload1.c:
1872
Henk
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/883 - Release Date: 01.07.2007
12:19
More information about the En-Nut-Discussion
mailing list