From: Erlo H. <erl...@gm...> - 2017-08-15 21:58:26
|
On 2017-08-15 23:22, Philipp Klaus Krause wrote: > Am 14.08.2017 um 23:47 schrieb Erlo Haugen: >> What library must I link to in order to access printf or puts? >> >> Command: >> >> erlo@beeblebrox:~/MPLABXProjects/interrupttest.X$ sdcc -mpic14 -p16f690 >> --use-non-free dreje.c >> message: Using default linker script "/usr/share/gputils/lkr/16f690_g.lkr". >> error: Missing definition for symbol "_puts", required by "dreje.o". >> >> br >> Erlo > > Do other std library functions work for you? From a quick look at > sdcc/device/lib/pic1?, it seems that the pic14 doesn't really have a > library (expect for support functions and floating-point math functions) > and the pic16 has its own library, separate from what all the non-pic > backends use. > > Philipp > Actually, I am not using other library functions as far as I know. Erlo |