Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
The pic16f1507 chip never calls main() as the library routine __sdcc_gsinit_startup never finishes. Commenting out the bulk of that function (so it just calls main) works, but obviously doesn't initialise BSS data.
Philipp Klaus Krause