From: Andy <sd...@an...> - 2006-08-14 20:48:24
|
Hi All, Just installed SDCC 2.6.0 from source, trying to compile for PIC 16F877A (14-bit PIC arch). I get the following error: [andy@alpha led_flash]$ sdcc -mpic14 -p16f877a test.c -V + "/usr/local/bin/sdcpp" -nostdinc -Wall -std=c99 -obj-ext=.o -DSDCC_MODEL_SMA LL -DSDCC=260 -DSDCC_pic14 -D__pic14 -DSDCC_PROCESSOR="16f877a" -I"/usr/loca l/bin/../share/sdcc/include/pic14" -I"/usr/local/share/sdcc/include/pic14" - I"/usr/local/bin/../share/sdcc/include" -I"/usr/local/share/sdcc/include" -I "/usr/local/bin/../share/sdcc/include/pic" -I"/usr/local/share/sdcc/include/ pic" "test.c" + "/usr/local/bin/gpasm" -c "test.asm" + "/usr/local/bin/gplink" -I"/usr/local/bin/../share/sdcc/lib" -I"/usr/local/s hare/sdcc/lib" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share /sdcc/lib/pic" -o test test.o libsdcc.lib pic16f877a.lib libsdcc.lib: No such file or directory My full version info: [andy@alpha led_flash]$ sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.6.0 #4309 (Aug 14 2006) (UNIX) And the source file: void main() { char x = 0; } I can't find 'libsdcc.lib' or 'pic16f877a.lib' anywhere on my system, and Google has turned up nothing helpful. I'm stumped - can anyone help? Thanks in advance, Andy |