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

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

Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks


From: Klaus Rudolph
Subject: Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks
Date: Sat, 06 Jul 2002 13:56:51 +0200

Marek Michalkiewicz wrote:
> 
> Hi,
> 
> > > os_cpu_a.s:181: Error: number must be less than 64
> 
> Replace SPL with _SFR_IO_ADDR(SPL) and so on with any other I/O register
> names in asm sources.  I tried to maintain compatibility with existing C
> sources, but asm sources need changes.
> 
> If you want the same asm source to build with older tools, just add this
> in your asm sources:
> 
> #ifndef _SFR_IO_ADDR
> #define _SFR_IO_ADDR(x) x
> #endif
> 
> > > os_cpu_a.s:317: Warning: rest of line ignored; first ignored character is
> > > `('
> > > os_cpu_a.s:318: Error: unknown opcode `_vector'
> 
> #define _VECTOR(N) __vector_ ## N
> 
> Actually it's already defined in <avr/sfr_defs.h> but only for C programs.
> Move it above the "#ifndef __ASSEMBLER__" and it should work fine...
> (I'll fix it in avr-libc CVS later.)
> 
>> Some bugs and some backwards compatibility issues, as you can see.
> It's normal, remember that it's still a development version which is
> being broken and fixed all the time ;)
> 
Thanks Marek,

will try that later, currently i have my wife here arround, and it´s a
bit to 
load to do good work " housecleaning ". :-)

have you any idea with the .data section problems?
I got the .data start at 0x00 and .skip does not increment the position
in the segment. :-(

Bye
        Klaus
avr-gcc-list at http://avr1.org



reply via email to

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