Does anybody know or has reference on how to make lib and header for certain PIC device, such as PIC16F887.
As I can see in the current release of SDCC, we still do not have pic16f887.lib and pic16f877.h.
Could I just modify the current pic16f877a.lib source and pic16f877a.h since there are only little different between this device and newer PIC16F887.

Any reference would be great. TIA.