SDCC 3.1.0 (http://www.octoate.de/wp/2011/12/08/sdcc-3-1-0/)
8 December 2011, 8:15 pmA 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 (http://www.octoate.de/wp/2011/09/04/sdcc-codeblocks-template-v1-2/) or the article in the CPCWiki (http://www.cpcwiki.eu/index.php/SDCC%20and%20CPC). In the new version, there are a lot of optimisations for the Z80 backend, so be sure to update if you already use the old version. You can download it from http://sdcc.sourceforge.net.
Changes:- include/pic, non-free/include/pic, lib/pic, non-free/lib/pic renamed to */pic14
- implemented –fomit-frame-pointer for mcs51
- support for use of sdcc in z88dk (–reserve-regs-iy and –no-optsdcc-in-asm options; smallc calling convention)
- new register allocator in the z80 and gbz80 ports (optimal when using –opt-code-size and a sufficiently high value for –max-allocs-per-node for the z80 port)
C99 designated initializers - added strxfrm() and strcoll() functions; strerror() is the only string handling function still missing
- added support for pic18f2xk22/pic18f4xk22 family (requires gputils > 0.14.0 and –enable-new-pics configure flag)
- added support for enhanced core pic14 devices (requires gputils > 0.14.0 and –enable-new-pics configure flag)
- setjmp() / longjmp() for the z80 port
- _Bool / bool for the hc08, pic16 and pic14 ports
- sdcpp synchronized with GNU cpp 4.6.1
- z180 port
- very basic (no integer constants, multiplication, division, shifts or use as return value) support for data types long long, unsigned long long, int_fast64_t, int_least64_t, int64_t, uint_fast64_t, uint_least64_t, uint64_t in the z80, z180, r2k and gbz80 ports
- r2k port for the Rabbit 2000 and Rabbit 3000
- Numerous feature requests and bug fixes are included as well.
Related posts:
- SDCC 2.9.0 RC1 (http://www.octoate.de/wp/2009/03/02/sdcc-290-rc1/)
- SDCC 2.9.0 released (http://www.octoate.de/wp/2009/03/22/sdcc-290-released/)
- SDCC v3.0.0 (http://www.octoate.de/wp/2010/12/19/sdcc-v3-0-0/)
© Octoate for Octoate.de - The Amstrad CPC news portal (http://www.octoate.de/wp), 2011. | Permalink (http://www.octoate.de/wp/2011/12/08/sdcc-3-1-0/) | No comment (http://www.octoate.de/wp/2011/12/08/sdcc-3-1-0/#comments) | Add to del.icio.us (http://del.icio.us/post?url=http://www.octoate.de/wp/2011/12/08/sdcc-3-1-0/&title=SDCC%203.1.0) Post tags: 2011 (http://www.octoate.de/wp/tag/2011/), c-compiler (http://www.octoate.de/wp/tag/c-compiler/), cross-development (http://www.octoate.de/wp/tag/cross-development/), development (http://www.octoate.de/wp/tag/development/), programming (http://www.octoate.de/wp/tag/programming/), sdcc (http://www.octoate.de/wp/tag/sdcc/)
(http://cpc-live.com/topsites/button.php?u=Octoate) (http://cpc-live.com/topsites/)
Feed enhanced by Better Feed (http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/) from Ozh (http://planetozh.com/blog/)
Source: Octoate.de - The Amstrad CPC news portal (http://www.octoate.de/wp)
---
This news item first appeared on Octoate's Blog and was aggregated through RSS for the forum.