In this post, calima wrote:
I was also looking at getting on the Gameboy [...] there are plenty of z80 C compilers.
I too was thinking about getting into Game Boy, largely to illustrate a point to the FamiTracker user community about using a Game Boy connected to the NES through a controller to Game Link cable as expansion audio.
As of 2017, which C compilers target LR35902? A compiler targeting Z80 is fine if it offers a choice to emit code that doesn't use IX, IY, and other Z80 features left out of the Game Boy's LR35902? Aspects to consider in your recommendation:
- Which are free software?
- Of non-free compilers, which are made for both Windows and GNU/Linux?
- Of non-free compilers, which are available without charge?
- Of non-free compilers available without charge, which may be used to emit code that will be included in a product that will be sold?
- Which are maintained? GBDK is 16 years old.
- Which support the largest subset of C, including useful features introduced in C99?
- How well do they optimize?