If an older version of SDCC is already installed when building the pic14 libraries the wrong pic14devices.txt file is used. On my system this resulted in pic16f886 and pic16f887 not being recognized.
To reproduce this bug from a working build, do a 'make install' and remove any device from /usr/local/share/include/pic/pic14devices.txt.
Then do 'make clean' in the sdcc/device/lib/ source directory and finally 'make' SDCC again.
The error message is:
'16f886' was not found.
The version is anything after 2008-01-24 (#5000).
A work-around is to manually remove /usr/local/share/include/pic/pic14devices.txt before the build.
Log in to post a comment.