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

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

Re: [avr-gcc-list] How about "C": AVR306 for GCC


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] How about "C": AVR306 for GCC
Date: Thu, 27 Feb 2003 11:38:10 +0100 (MET)

"WAKAME, Nobukazu" <address@hidden> wrote:

> in UART2.C (AVR306)
>>>/* Interrupt handlers */
>>>#pragma vector=UART_RX_vect
>>>__interrupt void UART_RX_interrupt( void )
> 
> in gcctest4.c (gcctest)
>>>SIGNAL(SIG_UART_RECV)      
>>>/* signal handler for receive complete interrupt */
> 
> How can I translate it ?

What do you need to translate?  Just replace the first form by the
second, i guess that's already all.  But you've been talking about
assembler, not C files initially, so i really didn't look into that C
code.

Btw., don't name your files ending in .C (the capital letter "C") for
gcc, it'll threat them as C++ files.  Always use the lower-case letter
"c" for the suffix of C files.  (.C, .cpp, .cc are all considered to
be C++.)

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

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