I'm trying to get a very simple C code compiled with sdcc, but I can't get past this missing lib file error:
SDCC version on Debian:
SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.0 #7066 (Jun 5 2012) (Linux)
test.c :
Any suggestions? thanks
Rich (BB code):
root@server:/home/xxxx/testpic# sdcc -mpic14 -p16f877 test.c
pic16f877.lib: No such file or directory
SDCC version on Debian:
SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.0 #7066 (Jun 5 2012) (Linux)
test.c :
Rich (BB code):
#include <string.h>
char strl[10];
void main(void) {
strcpy(strl, "testing");
}
Any suggestions? thanks