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

Reply via email to