[Top][All Lists]

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

Re: [avr-gcc-list] C++

From: Klaus Rudolph
Subject: Re: [avr-gcc-list] C++
Date: Tue, 16 Nov 2004 07:57:56 +0100 (MET)

> On Mon, Nov 15, 2004 at 08:28:04PM +0000, Christian Ludlam wrote:
> > On 15 Nov Klaus Rudolph wrote:
> > 
> > > And I also think that there is nobody who is interested in writing
> > > assembler on avr.
> > 
> > Not using gas, at least :)
> Actually, gas is splendid on other targets, e.g. the PowerPC. It served
> very well for some OS extensions I did for an ISDN interface, done
> mostly with gcc.

Yes, and it should be no problem to make gas working also for avr.

> Despite the boggy spots in avr-as, we've had no trouble implementing
> another multi-channel telephony interface card in pure AVR assembler.

I have also a lot of code written on avr in assembler. But it is not very 
senseful to see everytime warnings where nothing is wrong and got no error
if the code is corrupt. That such powerfull instructions like ldd is not 
really supported is not the base for easy assembler writing. 
As I digged into the code it should be possible to parse there for
symbols and create neccecarry entries then. Actually there is only a
get_constant in the code which allways throws errors if it is a not
resolveable symbol. 

> At least avr-as honestly refuses to do what it doesn't support, and it's
> always been possible (so far) to work around the limitations
> encountered.

?? Can you give some examples please!
How to manage the missing error messages for ldi, how to get table offsets
ldd and a lot of other questions. I hope you help me a lot with
this snipets of code. 

>I suppose I
> can archive a copy of avr-gcc with the project.  ;-)
I allways put a toolchain backup with my sources on cd. But have you
put your OS with it :-)))

I hope you could help solving my programming problems. So please send some
examples for workarounds!



Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++

reply via email to

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