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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user