cancel
Showing results for 
Search instead for 
Did you mean: 

Small Device C Compiler (SDCC) 4.4.0 Release Candidate 1

Philipp Krause
Senior II

There is now a Release Candidate 1 for the 4.3.0 release of the Small Device C Compiler (SDCC), a free ISO C compiler targeting the STM8 and other 8-bit architectures.

Source, documentation and binary packages for amd64 Windows, amd64 macOS and amd64 GNU/Linux are available in corresponding folders at the usual place:

http://sourceforge.net/projects/sdcc/files/

In case you haven't used SDCC for STM8 yet, and wonder how it compares to Cosmic, Raisonance, IAR, there is this comparison from 2 years ago, at the time of SDCC 4.2.0: http://www.colecovision.eu/stm8/compilers.shtml

Since then, SDCC has made substantial further progress, in particular improving support for the ISO C23 standard.


In addition to various bug fixes, notable features added since the
4.3.0 release are:

* Optimizations for rotations.
* struct / union parameters for hc08, s08 and mos6502.
* Many bug fixes for -ms08 --stack-auto.
* struct / union return support for hc08 and s08 (caller side only).
* Generalized constant propagation.
* New command line option --syntax-only to only parse the input.
* Added C99 header inttypes.h
* Added library functions imaxabs, imaxdiv, llabs, strtoimax, strtoll, strtoull, strtoumax, wcsncmp, wcstoimax, wcstol, wcstoll, wcstoul, wcstoull, wcstoumax
* New r800 port to better support the ASCII Corp R800 and Zilog Z280.
* Changed the default calling convention for r2k, r2ka, r3ka, tlcs90, ez80-z80 from version 0 to 1 (this is an ABI break, and will require changes to user-written asm functions or their declarations).
* Improved optimizations for code speed for stm8, pdk, z80 (and related).
* New mos65c02 port to better support the WDC 65C02.

A full list of changes can be found in the ChangeLog:
https://sourceforge.net/p/sdcc/code/HEAD/tree/tags/sdcc-4.4.0-rc1/sdcc/ChangeLog

Philipp
(SDCC 4.4.0 release manager)

 

1 REPLY 1
Philipp Krause
Senior II

P.S.: there is currently a survey at https://terminplaner4.dfn.de/EQgiMIYKQafCQLtr where you can state which SDCC ports you use or intend to use.