> warning: processor mismatch in "_gptrget1.o"
> Should I worry about it?
In short: no.
The library is compiled using the pic16f877 device, which is recorded in
the .o files. If you use a different device for your sources, gplink
complains when linking them together, indicating that there *might* be
issues with e.g. SFR locations that are not identical in both devices.
Since by now all objects including SFRs are referenced symbolically and
resolved against the definitions of the device used while linking (i.e.
the one you specified using sdcc -mpic14 -p<device> mysource.c), this
message can be ignored. In fact, making the library's binaries portable
among all devices was the main motivation for introducing symbols for SFRs!
Probably you can even use the -w switch to gplink (sdcc -Wl,-w [...]) to
suppress this warning from being emitted...
Get latest updates about Open Source Projects, Conferences and News.