On 14.2.2013 21.14, "Raphael Neider" <rnei...@web.de> wrote:

>Hi again,
>
>(This is a potential double-post since my previous post does not seem
>to have made it to the list. This version is edited/updated.)
>
>I tried with r8008 and cannot reproduce this with properly built
>libraries.
>___eeprom_gptr{get,put}[1234] are provided by libdev18f4550.lib, so I
>guess this file is bad / from an older sdcc.
>
>You can check your libdev18f4550.lib as follows:
>
>$ strace -o trace.log -f -eopen sdcc <your arguments here>
>$ grep libdev18f4550.lib trace.log | grep -v ENOENT
>
>should yield several hits and reveal the path to the libdev18f4550.lib
>that is being used by the linker.

Hmm strace is not available for Mac, googling told me to use
dtruss, captured that output but it does not contain any refs
to libdev18f4550.lib, guess I don't know how to use it.

Ok, I think I give this up and also give up searching
for the root cause and instead install SDCC from
the source to an other location.


>
>$ gplib -s /path/to/your/libdev18f4550.lib | grep eeprom
>
>should yield hits on ___eeprom_gptr{get,put}[1234] (but probably does
>not).
>
>I assume that you are using a libdev18f4550.lib from an older SDCC. If
>you are using a not installed sdcc, you may need to add
>-L/path/to/sdcc-build/device/non-free/lib/build/pic16 to your search
>paths. This is probably *not* added by --use-non-free. ... or just
>install sdcc in some distinct folder as proposed earlier.
>Alternatively, use find . -name libdev18f4550.lib in the directory
>where your built/installed sdcc resides and add the path to
>libdev18f4550.lib with -L.
>
>Hope that helped,
>Raphael

Yes, helped a lot even if it did not solve it,
thank you very much for you time and effort.

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

Reply via email to