Hi, > 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
You are at least missing a command line parameter: -p18f47j53 While it is strange that libdev18f452 (the default target device) is apparently not available, you really want to use libdev18f47j53.lib. > (I had to compile separately crt0i.c before because it complained > about missing crt0i.o file) > giving the error message Can you verify that your sdcc build passed cleanly? I assume that gputils were not found when you built sdcc, so no libraries nor crt*.o files could be built. While this is strange, as the build system used to bail out with an error in that situation, you may have tricked it somehow into continuing (different PATH at configure time vs make time? make -k?). crt0i.o should never be missing, unless the build/install did not succeed properly. > 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? Well, they should be built during common $ configure && make && make install sessions -- but only if gputils are found in PATH at both configure and make times. If this does not help, please post (attach) a compressed config.log and the output of your make command, e.g., $ make 1>&2 | tee make.log Good luck, Raphael ------------------------------------------------------------------------------ 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