Trying to use the latest version of sdcc with some older code that =
worked back around 2500
All I changed were some definitions to take into account new sfr names =
ie PORTA0 to RA0 and I'm down to this last problem at link time. Any =
ideas or suggestions?
missing definition for symbol __sdcc_gsinit_startup
$ sdcc/bin/sdcc --version
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 =
2.6.4 #4698 (Mar 18 2007) (CYGWIN)
> Trying to use the latest version of sdcc with some older code that
> worked back around 2500
pic14 target I assume.
> missing definition for symbol __sdcc_gsinit_startup
You need to rebuild/reinstall the library. Initialization for globals
and static variables has been moved into a library routine
__sdcc_gsinit_startup() in device/lib/pic/libsdcc/idata.c, so also make
sure to link against libsdcc.lib from the lib/pic14 (or is it lib/pic ?)
directory. Check all linker's include paths for copies of old versions
of this file.