The SDCC team released a first release candidate of their C cross compiler. Like Z88dk, SDCC is able to produce Z80 code. If you want to know more about how you can use SDCC with the CPC you can have a look at the CPCWiki article “SDCC and CPC“. You can download it from the SDCC homepage. The final release is currently planned for 22.03.2009.
Here are the changes of the current version:
- sdcpp synchronized with GNU cpp 4.3.3
- Integer constants written in binary (prefix 0b or 0B, followed by a sequence of 0 and 1digits) are now supported as a SDCC extension.
- pic16 *printf() library functions return int
- disabled support of undocumented and not standard compliant ‘b’ binary format specifier (“%b”, “%hb” and “%lb”) in pic16 *printf() and printf_tiny() library functions
- fixed initialization of unnamed bitfields members of objects of structure and union type
- many optimizations to reduce code size and increase speed in the Z80 backend
- added support for ar format libraries to adcc asxxxx
- libraries, included in sdcc packages, are in ar format
- sdcc asxxxx license changed to GPLv3