Thank you for reply!
So, how that may be: crt0i is part of SDCC and gplink (called from SDCC) can't find them?
Can this happens in case of missing compiled crt0?
$ find /usr -type f -name 'crt0i.o'
nothing found
Is this some hidden part of SDCC install beyond configure/make/make install to compile additional
parts of SDCC?
12.11.2012, 14:10, "Diego Herranz" <diegoherr...@diegoherranz.com>:
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
12.11.2012, 12:09, "Kustaa Nyholm" <kustaa.nyh...@planmeca.com>:
> On 12.11.2012 9.58, "Soloviov Dmitry" <dmitrysolov...@yandex.ru> wrote:
>> Hello!
>> I've just installed latest version of SDCC and want to compile some
>> simplest possible program like
>> #include <pic18fregs.h>
>> void main() {
> > > while (1) {
> > > > > TRISB = 0;
> > > > > PORTB = 19;
> > > }
> }
> with SDCC 3.2.1
> sdcc -mpic16 -p18f1220 -V test0.c
> But this message occurs:
> + /usr/local/bin/sdcpp -nostdinc -Wall -Dpic18f1220 -D__18f1220
> -D__SDCC_PIC18F1220 -DSTACK_MODEL_SMALL -D__STACK_MODEL_SMALL -obj-ext=.o
> -D__SDCC=3_2_1 -DSDCC=321 -D__SDCC_REVISION=8146 -DSDCC_REVISION=8146
> -D__SDCC_pic16 -DSDCC_pic16 -D__pic16 -D__STDC_NO_COMPLEX__
> -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem
> /usr/local/bin/../share/sdcc/include/pic16 -isystem
> /usr/local/share/sdcc/include/pic16 -isystem
> /usr/local/bin/../share/sdcc/include -isystem
> /usr/local/share/sdcc/include test0.c
> 3:
> pic18fregs.h:397: 26: error: pic18f1220.h: No such file or directory
> Have you --use-non-free ??
> From: SDCC Compiler User Guide
> ¨"Pic device specific header and c source files are automatically
> generated from MPLAB include files, which
> are published by Microchip with a special requirement that they are only
> to be used with authentic Microchip
> devices. This reqirement prevents to publish generated header and c source
> files under the GPL compatible license,
> so they are located in non-free directory (see section 2.3). In order to
> include them in include and library search
> paths, the --use-non-free command line option should be defined."
> cheers Kusti
> ------------------------------------------------------------------------------
> 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
> On 12.11.2012 9.58, "Soloviov Dmitry" <dmitrysolov...@yandex.ru> wrote:
>> Hello!
>> I've just installed latest version of SDCC and want to compile some
>> simplest possible program like
>> #include <pic18fregs.h>
>> void main() {
> > > while (1) {
> > > > > TRISB = 0;
> > > > > PORTB = 19;
> > > }
> }
> with SDCC 3.2.1
> sdcc -mpic16 -p18f1220 -V test0.c
> But this message occurs:
> + /usr/local/bin/sdcpp -nostdinc -Wall -Dpic18f1220 -D__18f1220
> -D__SDCC_PIC18F1220 -DSTACK_MODEL_SMALL -D__STACK_MODEL_SMALL -obj-ext=.o
> -D__SDCC=3_2_1 -DSDCC=321 -D__SDCC_REVISION=8146 -DSDCC_REVISION=8146
> -D__SDCC_pic16 -DSDCC_pic16 -D__pic16 -D__STDC_NO_COMPLEX__
> -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem
> /usr/local/bin/../share/sdcc/include/pic16 -isystem
> /usr/local/share/sdcc/include/pic16 -isystem
> /usr/local/bin/../share/sdcc/include -isystem
> /usr/local/share/sdcc/include test0.c
> 3:
> pic18fregs.h:397: 26: error: pic18f1220.h: No such file or directory
> Have you --use-non-free ??
> From: SDCC Compiler User Guide
> ¨"Pic device specific header and c source files are automatically
> generated from MPLAB include files, which
> are published by Microchip with a special requirement that they are only
> to be used with authentic Microchip
> devices. This reqirement prevents to publish generated header and c source
> files under the GPL compatible license,
> so they are located in non-free directory (see section 2.3). In order to
> include them in include and library search
> paths, the --use-non-free command line option should be defined."
> cheers Kusti
> ------------------------------------------------------------------------------
> 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