Open spth opened 5 years ago
That would be a feasible solution. I did not dare to modify the Makefile in "device/lib" as it seems to be closely tied to SDCC's default file extensions (.rel for object files and .lib for static libraries) and didn't want to break even more things. Instead, two new targets should generate .asm (in GNU as format), .o object files and .a static libraries so stm8-ld can link them. Are you willing to modify this Makefile accordingly?
https://github.com/XaviDCR92/stm8-dce-example states:
How would this be resolved? Have another set of stm8 libraries (i.e. like we now have stm8 and stm8-large, there would also be stm8-gas and stm8-gas-large)?