cpc-dev-tool-chain
cpc-dev-tool-chain copied to clipboard
SDCC4 partially buggy, allow per-project SDCC version
Situation
SDCC 4.0, 4.1 and 4.2 are out. They work for some projects but they have bugs. For example, SDCC 4.0 through 4.2 generate incorrect ASM on config screen of https://github.com/cpcitor/color-flood-for-amstrad-cpc .
Action
I reverted the commits advancing past SDCC3.9 to fix the regression.
TODO
- Allow projects to choose their SDCC version by project configuration.
- Projects without explicit configuration will get latest SDCC 3 for compatibility.
- Decide if new projects will get a non-SDCC3 configuration.
- Separately, write tests for bugs affecting CPC projects, report bugs to SDCC team.