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

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

Re: [avr-gcc-list] link problems


From: address@hidden
Subject: Re: [avr-gcc-list] link problems
Date: Tue, 8 Mar 2005 17:12:12 +0100

Parthasaradhi. thanks for your reply. Updating the code seems to solve the 
problem.

However, if the functions are deprecated and not anymore in the library: how
comes the code compiles? (but does not link..)

I also noticed another weird thing (weird to me) regarding the function cli() -
which seems to be defined in interrupt.h
If I only include avr/io.h the code compiles (!!) but I get link errors.
If I also include avr/interrupt.h the code compiles and link fine.

I would expect the error to appear at the compilation step (with the complier
complaining about cli not being declared).

I am confused.
Is this normal? (in which case I'd be grateful if someone could please explain
me how comes the compiler doesn't complain about the non-declared function)
Is this a bug?
Or deos it just mean that there is something wrong in the way I have installed
the tookchain?

Thank you in advance.

Regards,
Enrico

---------- Initial Header -----------

>From      : "Parthasaradhi Nayani" address@hidden
To          : "address@hidden" address@hidden,"avr-gcc-list"
address@hidden
Cc          :
Date      : Tue, 8 Mar 2005 07:08:18 -0800 (PST)
Subject : Re: [avr-gcc-list] link problems

>
> --- "address@hidden"
> <address@hidden> wrote:
> > Dear All,
> > `outp'
> > > `outp'
> >
> > any idea what the problem could be?
>
> Hi,
> Please see the list of deprecated functions calls.
> 'outp', 'sbi', 'cbi' are some of them. Moreover it
> will be more legible to write to port by directly
> addressing it. In place of 'cbi' , sbi' use _BV (bit
> number).
>
> Nayani
>
> 
>
>
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
> 



____________________________________________________________
Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it






reply via email to

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