Hello Zsolt, thank you for your answer.

[sombriks@sephiroth ~]$ sdcc -v
SDCC :
mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8
3.6.0 #9615 (Linux)
published under GNU General Public License (GPL)
[sombriks@sephiroth ~]$

this version is what comes from official fedora repo:

[sombriks@sephiroth ~]$ sudo dnf whatprovides sdcc
Última verificação de data de vencimento de metadados: 0:57:21 atrás em Wed
Sep 14 18:57:52 2016.
sdcc-3.6.0-2.fc24.x86_64 : Small Device C Compiler
Repo        : @System

sdcc-3.6.0-2.fc24.x86_64 : Small Device C Compiler
Repo        : updates

sdcc-3.5.0-6.fc24.x86_64 : Small Device C Compiler
Repo        : fedora

[sombriks@sephiroth ~]$

maybe piklab is the real problem, yet i have no light here yet.



Em qua, 14 de set de 2016 às 16:06, Gál Zsolt <tralitove...@freemail.hu>
escreveu:

> Hello,
>
> How did you install your sdcc? Did you install a snapshot or compile it
> from source?
>
> Could you write the version number of it? ( sdcc -v )
>
> I think the device library files for pic16 devices should be in this
> directory:
>
> /usr/share/sdcc/non-free/lib/pic16
>
> Regards,
>
> Zsolt
>
> 2016-09-14 7:18 GMT+02:00 Leonardo <sombr...@gmail.com>:
>
>> Hello all,
>>
>> i'm facing a problem using sdcc + piklab here.
>>
>> currently it compiles my hello world quite well, however the link step
>> (from .o file to .hex) seems problematic.
>>
>> the commands created by piklab to compile and link follows:
>>
>> sdcc --use-non-free -mpic16 -p18f4550 -V --debug
>> -I/home/sombriks/Documentos/samplepic/ -c main.c
>>
>> sdcc --use-non-free -mpic16 -p18f4550 -V --debug -Wl-c -Wl-m
>> -I/home/sombriks/Documentos/samplepic/ -oteste.hex main.o
>>
>> the compile phase seems to work well, however the second command tries to
>> find a file called libdev18f4550.lib and then fails.
>>
>> searching the sdcc installation i've found a .lib file with similar name,
>> but i'm not sure if it's the same thing the linker is looking for:
>>
>> */usr/share/sdcc//lib/pic16/libio18f4550.lib*
>>
>> any guidance is welcome.
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Sdcc-user mailing list
>> Sdcc-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>>
>>
>
>
> --
> ~~~~~~~~~~~~~~~~
> http://galzsolt.zzl.org
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to