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

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

Re: [avr-gcc-list] very simple program


From: Dmitry K.
Subject: Re: [avr-gcc-list] very simple program
Date: Mon, 3 Oct 2005 08:32:06 +1100
User-agent: KMail/1.5

On Sunday 02 October 2005 23:21, Timothy Smith wrote:
> i'm learning the in's and out's of microcontroller programming, but i've
> run into a really fundamental problem.  i get the following error when i
> attempt to use _BV to shift a shit and set port b pin 0 to output
>
> 4: undefined reference to `__stack'
[...]

Use 'avr-gcc' to link.
If you want to use 'avr-ld', you must to add startup code and link-layout
manually.

Regards.





reply via email to

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