Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/www/users/octoat/octoate.de/wp-content/themes/suffusion/functions/media.php on line 666

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/www/users/octoat/octoate.de/wp-content/themes/suffusion/functions/media.php on line 671

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/www/users/octoat/octoate.de/wp-content/themes/suffusion/functions/media.php on line 684

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/www/users/octoat/octoate.de/wp-content/themes/suffusion/functions/media.php on line 689

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/www/users/octoat/octoate.de/wp-content/themes/suffusion/functions/media.php on line 694
c-compiler | The Amstrad CPC news portal
Sep 222019
 

A new version of the SDCC C compiler is available. You can use SDCC to develop for the Amstrad CPC, e.g. with using the SDCC Code::Blocks template or the programming tutorials by Mochilote or with the CPCtelera framework that is used e.g. in the CPCRetroDev development competition. The new version contains also some features for the Z80 port, so be sure to update it. You can download it from http://sdcc.sourceforge.net.

Changelog:

  • Support for struct / union assignment.
  • Optimizations in the stm8 backend relevant to soft float increase Whetstone score by two thirds.
  • Improvements in rematerialization in the stm8 backend improve code generation for struct, union and arrays.
  • New stack allocator reduces stack space usage for the stm8, z80, z180, gbz80, r2k, r3ka, tlcs90 backends.
  • New ez80_z80 backend for eZ80 in Z80 mode.
  • Removed deprecated sdcclib utility.
  • New pdk14 backend for Padauk µC with 14-bit wide program memory.
  • New in-development pdk15 backend for Padauk µC with 15-bit wide program memory.
  • Numerous other new features and bug fixes are included as well.
Jul 142016
 

A new version of the SDCC C compiler is available. You can use SDCC to develop for the Amstrad CPC, e.g. with using the SDCC Code::Blocks template or the programming tutorials by Mochilote or with the new CPCtelera framework. The new version contains also some features for the Z80 port, so be sure to update it. You can download it from http://sdcc.sourceforge.net.

Changes:

  • Merged upstream binutils 2.25
  • New memory management with lower overhead
  • Changed default language dialect to –std-sdcc11
  • Diagnostic for missing type specifier: No implicit int outside of C90 mode anymore
  • C11 generic selections
  • char type is now unsigned by default (old behaviour can be restored using –fsigned-char)
  • Character constants are now of type int instead of char.
  • ISO C95 and ISO C11 wide character constants
  • ISO C95 and ISO C11 wide string literals
  • Basic standard library support for wide characters: c16rtomb(), mbrtoc16(), mbsinit(), mbtowc(), mbrlen(), mbrtoc32, c32rtomb(), mbrtowc(), wcrtomb(), mblen(), wctomb()
  • Treat all ports the same in the manual (i.e. mcs51-specific stuff is now clearly described as such)
  • Reorganized interrupt handling for z80, z180, r2k, r3ka, tlcs90, gbz80 backends
  • Workaround for stm8 division hardware bug
  • ELF/DWARF support for stm8
  • Output symbol table for ELF
  • pic16 port now uses standard-compliant crt0iz that initializes static and globals to 0 by default
  • Numerous feature requests and bug fixes
Jun 272015
 

A new version of the SDCC C compiler is available. You can use SDCC to develop for the Amstrad CPC, e.g. with using the SDCC Code::Blocks template or the programming tutorials by Mochilote or with the new CPCtelera framework. The new version contains also some features for the Z80 port, so be sure to update it. You can download it from http://sdcc.sourceforge.net.

Changes:

  • –disable-non-free configure option
  • Changed default language dialect from –std-sdcc89 to –std-sdcc99
  • Reorganized and updated manual
  • Reduced memory consumption (most noticeable for high –max-allocs-per-node)
  • Faster compilation for stm8 (most noticeable for high –max-allocs-per-node)
  • atoll() function for conversion of strings to long long
  • __z88dk_fastcall and __z88dk_callee calling conventions for more efficient function calls and better compability with z88dk
  • –lospre-unsafe-read renamed to –allow-unsafe-read
  • other numerous feature requests and bug fixes
Apr 122014
 

A new version of the SDCC C compiler is available. You can use SDCC to develop for the Amstrad CPC, e.g. with using the SDCC Code::Blocks template or the programming tutorials by Mochilote. The new version contains also some optimisations for the Z80 port, so be sure to update it. You can download it from http://sdcc.sourceforge.net.

Changes:

  • New TLCS90 (Toshiba Z80 clone) target support
  • New STMicroelectronics STM8 target support
  • Support for named address spaces in ROM
  • Detects supported devices by gputils when building SDCC
  • Numerous feature requests and bug fixes are included as well.

 

May 312013
 

A new version of the SDCC C compiler is available. You can use SDCC to develop for the Amstrad CPC, e.g. with using the SDCC Code::Blocks template or the programming tutorials by Mochilote. The new version contains a lot of optimisations for the Z80 backend again, so be sure to update. You can download it from http://sdcc.sourceforge.net.

Changes:

  • Many small improvements in code generation for the z80-related ports – merged smallopts branch
  • lospre (currently enabled for z80-related and hc08-related ports only) – merged lospre branch
  • More efficient initialization of globals in z80, z180, r2k and r3ka ports.
  • Inclusion of tests from the gcc test suite into the sdcc regression test suite led to many bugs being found and fixed.
  • Split sdas390 from sdas8051
  • Merged big parts of ASxxxx v5 into sdas
  • New pic devices (synchronization with MPLABX 1.60). (Except for very old MCU-s.)
  • New script which disassembles those hex files, in which MCS51 code there is. (mcs51-disasm.pl)
  • Added the PIC16F1788 and PIC16F1789 devices.
  • C11 _Alignof operator.
  • C11 _Alignas alignment specifier.
  • C11 _Static_Assert static assertion.

Numerous feature requests and bug fixes are included as well.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close