head 1.3; access; symbols pkgsrc-2019Q4:1.2.0.34 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.30 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.28 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.26 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.24 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.22 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.20 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.18 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.16 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.14 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.10 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.8 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.6 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.4 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.2 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.1.0.20 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.18 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.16 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.14 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.12 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.10 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.8 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.6 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.4 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.2 pkgsrc-2013Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2019.12.29.06.29.23; author ryoon; state dead; branches; next 1.2; commitid sjcUUzmjLAwcfzQB; 1.2 date 2016.06.25.17.48.15; author bouyer; state Exp; branches; next 1.1; commitid LPZ2oiKp264lcSbz; 1.1 date 2013.10.21.15.12.38; author ryoon; state Exp; branches; next ; commitid pdIdJXuuuMlGMaax; desc @@ 1.3 log @Update to 3.9.0 Changelog: SDCC 3.9.0 Feature List: 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. SDCC 3.8.0 Feature List There is always a problem to create a list of new features when a new SDCC release is announced. The following list is an attempt to create such a list "on the fly". Every time a new feature which is visible or interesting for the SDCC users is implemented, it should be added to the following list. Additional general utility function: bsearch(). Support for rematerialization in the stm8 backend reduces register pressure and stack usage. Merged upstream GNU binutils 2.30. All Python code is now fully compatible with both Python 2.7 and Python 3.6, so Python 3 can be used instead of Python 2. Regression testing for diagnostics. Improved handling of local bool variables in the mcs51 backend substantially reduces code size. Large memory model for stm8 for 24-bit codespace allows using more than 32KB of Flash for code. New optimizations for calls to some standard library function (printf(), puts(), strcpy()). The type of true and false from stdbool.h change from int to bool. New C2X mode (--std-c2x, --std-sdcc2x, #pragma std_c2x) adds support for one-argument static_assert variant. Intermingling of declarations and statements (ISO C99). Support headers for AX8052 devices. Adopted GCC 8.2 regression tests (execute part of the GCC C torture tests). @ text @$NetBSD: patch-Makefile_in,v 1.2 2016/06/25 17:48:15 bouyer Exp $ * Make the makefile stop on error. * Build sdcpp in earlier stage. --- Makefile.in.orig 2016-05-15 13:34:37.000000000 +0200 +++ Makefile.in 2016-06-25 13:15:26.000000000 +0200 @@@@ -120,19 +120,19 @@@@ tini: checkconf sdcc-tini sdcc-libs: sdcc-sdbinutils - for lib in $(SDCC_LIBS); do $(MAKE) -C $$lib; done + for lib in $(SDCC_LIBS); do $(MAKE) -C $$lib || exit 1; done sdcc-cc: sdcc-libs $(MAKE) -C src sdcc-as: - for as in $(SDCC_AS); do $(MAKE) -C $$as ; done + for as in $(SDCC_AS); do $(MAKE) -C $$as || exit 1 ; done sdcc-ld: $(MAKE) -C sdas/linksrc $(SDCC_LD) sdcc-misc: - for misc in $(SDCC_MISC); do $(MAKE) -C $$misc ; done + for misc in $(SDCC_MISC); do $(MAKE) -C $$misc || exit 1 ; done sdcc-scripts: $(MAKE) -C $(SDCC_SCRIPTS) @@@@ -192,7 +192,7 @@@@ install: checkconf sdcc $(MAKE) -f main.mk install @@for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg install ;\ + $(MAKE) -C $$pkg install || exit 1;\ done # Deleting all the installed files @@@@ -200,7 +200,7 @@@@ uninstall: $(MAKE) -f main.mk uninstall @@for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg uninstall ;\ + $(MAKE) -C $$pkg uninstall || exit 1;\ done # Deleting all files created by building the program @@@@ -210,7 +210,7 @@@@ $(MAKE) -f $(srcdir)/clean.mk clean @@echo "+ Cleaning packages in their directories..." for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) clean ;\ + $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) clean || exit 1;\ done # Deleting all files created by configuring or building the program @@@@ -218,10 +218,10 @@@@ distclean: @@echo "+ DistCleaning packages using clean.mk..." for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) distclean ;\ + $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) distclean || exit 1;\ done for pkg in $(SDCC_EXTRA); do \ - $(MAKE) -C $$pkg distclean; \ + $(MAKE) -C $$pkg distclean || exit 1; \ done @@echo "+ DistCleaning root of the project..." $(MAKE) -f $(srcdir)/clean.mk distclean @@@@ -231,7 +231,7 @@@@ mostlyclean: clean $(MAKE) -f $(srcdir)/clean.mk mostlyclean for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) mostlyclean ;\ + $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) mostlyclean || exit 1;\ done # Deleting everything that can reconstructed by this Makefile. It deletes @@@@ -240,7 +240,7 @@@@ realclean: distclean $(MAKE) -f $(srcdir)/clean.mk realclean for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) realclean ;\ + $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) realclean || exit 1;\ done # Creating distribution @@@@ -264,8 +264,9 @@@@ # --------------------- dep: $(SDCC_LIBS) $(MAKE) -f main.mk dep + ${MAKE} -C support/cpp dep @@for pkg in $(PKGS); do\ - $(MAKE) -C $$pkg dep ;\ + $(MAKE) -C $$pkg dep || exit 1;\ done # My rules @ 1.2 log @Update to 3.6.0, fixing boost-related build issue. Changes since 3.5.0: - 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 are included as well. @ text @d1 1 a1 1 $NetBSD: patch-Makefile_in,v 1.1 2013/10/21 15:12:38 ryoon Exp $ @ 1.1 log @Import sdcc-3.3.0 as devel/sdcc3. SDCC is a Free ware , retargettable, optimizing ANSI-C compiler. The current version targets Intel 8051 based MCUs, it can be retargetted for other 8 bit MCUs or PICs. The entire source code for the compiler is distributed under GPL. SDCC used ASXXXX & ASLINK a Free ware, retargettable assembler & linker. HTML docs are in work/*/doc. Note I added a patch from sailer@@ife.ee.ethz.ch "asxxxx.diff" for making firmware for the Anchor EZUSB chips. This package tracks sdcc 3.x branch. @ text @d1 1 a1 1 $NetBSD: patch-Makefile_in,v 1.1 2012/05/06 03:07:23 dholland Exp $ d6 3 a8 3 --- Makefile.in.orig 2012-11-12 21:58:19.000000000 +0000 +++ Makefile.in @@@@ -106,19 +106,19 @@@@ all: checkconf sdcc d11 1 a11 1 sdcc-libs: d20 1 a20 1 + for as in $(SDCC_AS); do $(MAKE) -C $$as || exit 1; done d27 1 a27 1 + for misc in $(SDCC_MISC); do $(MAKE) -C $$misc || exit 1; done d31 1 a31 1 @@@@ -172,7 +172,7 @@@@ sdcc-base: sdcc-cc sdcc-as sdcc-ld d40 1 a40 1 @@@@ -180,7 +180,7 @@@@ install: checkconf sdcc d49 1 a49 1 @@@@ -190,7 +190,7 @@@@ clean: d58 1 a58 1 @@@@ -198,10 +198,10 @@@@ clean: d71 1 a71 1 @@@@ -211,7 +211,7 @@@@ distclean: d80 1 a80 1 @@@@ -220,7 +220,7 @@@@ mostlyclean: clean d89 1 a89 1 @@@@ -244,8 +244,9 @@@@ installcheck: @