Hi,

I'm migrating some old code from:

SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.8.9 # (Feb 10 2009) (Mac OS X i386)


to

SDCC : 
mcs51/gbz80/z80/z180/r2k/r3ka/ds390/pic16/pic14/TININative/ds400/hc08/s08
3.2.0 #8008 (Jul  6 2012) (Mac OS X i386)


and I've done the trivial at -> __at etc conversion and
now the code compiles but the linker complains:

error: missing definition for symbol "___eeprom_gptrput1", required by
"gptrput1.o" 

obviously some library is missing or wrong version
(though I don't think my code uses
general pointers and certainly not any eeprom stuff).

I link with libraries:

libc18f.lib libio18f4550.lib libm18f.lib libsdcc.lib

with these options:

SDCCFLAGS = "-Wl,-m,-s 18f4550.lkr" -mpic16 -p18f4550 --disable-warning 85
--std-sdcc99 --obanksel=3 --use-non-free

Could this be because the 3.2.0 is not 'installed' but
I'm just referring to is [sdcc compiler] from within my
Makefile directly and I still have the old 2.8.9 properly
installed in '/usr/local/bin/'?

Maybe it finds 'old' gputils (have not installed that
though I thought that was a requirement, now that I
think about it)?

If so, how can I keep the old and new sdcc and gputils
separate so that I can use both for the time being?

I'm in a critical juncture atm and cannot afford risking
disruption of some other projects by converting them to
new gputils or sdcc.

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