Hi, I am a new user of sdcc and I was trying to compile and link a simple program for the pic 18f47j53.
First of all, the sdcc version I am using is 3.2.1 #8415 (Feb 10 2013) (Linux) which I downloaded, compiled and installed on ubuntu 12.04 I compiled the example code with > sdcc -mpic16 --use-non-free crt0i.o toggle_led.c (I had to compile separately crt0i.c before because it complained about missing crt0i.o file) giving the error message > libdev18f452.lib: No such file or directory Doing > find -name libdev18f452.lib in the sdcc tree finds nothing (I installed sdcc in /usr/local; the 'find' command was run in /usr/local/share/sdcc/ , since I've seen all the libraries seem to be there and /usr/local/lib doesn't contain any sdcc stuff) Running > find -name *18f452* shows a lot of files though. Excluding .c and .h files, the rest are .Po files located in ./lib/src/pic16/libio/.deps/ ./non-free/lib/src/pic16/ libdev/.deps/ (such as ./non-free/lib/src/pic16/libdev/.deps/libdev18f452_a-pic18f452.Po) What am I doing wrong? Is lib18f452.lib the base for other libraries? (note I am using 18f47j53!) Do I have to build the libraries separately? Thank you in advance, Luis de Arquer ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user