Yes, crt0i initializes variables, stack, etc and calls main(). You can see
what it does more in detail here:
http://sdcc.svn.sourceforge.net/viewvc/sdcc/trunk/sdcc/device/lib/pic16/startup/crt0i.c?view=markup
.

Just an offtopic comment: I would write void main(void)  instead of
void main().


On Mon, Nov 12, 2012 at 9:50 AM, Soloviov Dmitry
<dmitrysolov...@yandex.ru>wrote:

> BTW, gputils installed as distro package (apt-get install blah-blah)
>
> $ gplink -v
> gplink-0.13.7 beta
>
> What is crt0i ? Is it something like bootstrap object to really call
> main()?
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to