On 14.2.2013 10.28, "roelof 't Hooft" <roel...@itholland.nl> wrote:
><snip> Thanks for the tip, I may end up doing something like that, however, it looks to me that I should be able to just tell sdcc to use different path for libraries with -L option. I've tried this: /Users/nyholku/sdcc-3.2.0/bin/sdcc "-L /Users/nyholku/sdcc-3.2.0/share/sdcc/lib/pic16 -Wl,-m,-s 18f4550.lkr" -mpic16 -p18f4550 --disable-warning 85 --std-sdcc99 --obanksel=3 --use-non-free -o ../obj/cdcacm.hex ../obj/main.o ../obj/usbcdc.o ../obj/printft.o libc18f.lib libio18f4550.lib libm18f.lib libsdcc.lib but it does not help, I think it still finds the old libraries. Also, there must be something wrong because I also get: message: using default linker script "/usr/local/share/gputils/lkr/18f4550.lkr" although I specify the linker script on the command line, I must have something wrong on that command line so I would appreciate if someone had hard look at the above command line and told me the problem.... br Kusti ------------------------------------------------------------------------------ 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