Re: [Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-20 Thread Alexandre Martins
Hi Raphael. I now have this output: make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/home/amartins/MPLABXProjects/Pic18F4550Test.X' make -f nbproject/Makefile-default.mk dist/default/production/Pic18F4550Test.X.production.cof make[2]: Entering directo

Re: [Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-20 Thread Raphael Neider
Hi, > Got the right path: /usr/local/share/sdcc and this folder has other > three: include, lib and non-free. I notice that libc18f is not in > /usr/local/share/sdcc/non-free/lib/pic16 but in but in > /usr/local/share/sdcc/lib/pic16 folder. OK, now you need tell gplink to (i) look there and

Re: [Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-20 Thread Alexandre Martins
Hello Raphael. You are right. Folder /usr/share/sdcc/non-free does not exists. I build again SDCC with this parameter: non_free_lib_dir_suffix="non-free/lib". Builds all, inclusive non-free lib and include, but 'make install' does not copy non-free folder to /usr/share/sdcc. Got the r

Re: [Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-19 Thread Raphael Neider
Hi, > Does not -L /usr/share/sdcc/lib/pic16 tells compiler where to get > libraries, inclusive the libc18f.lib. Yes, but does the file exist? We recently changed the location of the installed pic14/pic16 libraries and headers due to licence issues. That's why I wrote "updated path to sdcc's pic

Re: [Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-19 Thread Alexandre Martins
Hi. Thanks for reply. Does not -L /usr/share/sdcc/lib/pic16 tells compiler where to get libraries, inclusive the libc18f.lib. Still gives me same error. I add --use-non-free, but still the same. Do you think something went wrong during build? Alexandre Martins Electronics and Telecommunicatio

Re: [Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-19 Thread Raphael Neider
Hi, [...] > /usr/local/bin/sdcc --debug-ralloc --pstack-model=large --pno-banksel > --extended --obanksel=2 -L /usr/share/sdcc/lib/pic16 -L > /usr/share/sdcc/lib/small -I/usr/share/sdcc/include > -I/usr/share/sdcc/include/pic16/ -c -mpic16 -p18f4550 main.c > -obuild/default/production/ma

[Sdcc-user] SDCC + Ubuntu 11.04 & MPLAB X

2011-08-19 Thread Alexandre Martins
Hello everybody. /I have a problem when build a program using string.h and stdlib.h. this is the output: make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/home/amartins/MPLABXProjects/Pic18F4550Test.X' make -f nbproject/Makefile-default.mk dist/default/p