From: darcagn <da...@us...> - 2024-04-30 23:15:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via f329209068f1aadee9c53c694880633ab236df4d (commit) via a326c0119b2c6baf92083bf749a759b094845730 (commit) via 2d09b5a1fc147f1f113ca0f05b71ffe0ecfcdb9e (commit) from f798f6cda5796de80eb0fdf2eebf84ba596ded8b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f329209068f1aadee9c53c694880633ab236df4d Author: Falco Girgis <gyr...@gm...> Date: Tue Apr 30 18:13:59 2024 -0500 Add Newlib Configuration Parameter for Enabling iconv() (#532) * Added changelog entry. * iconv Newlib configuration parameter added. commit a326c0119b2c6baf92083bf749a759b094845730 Merge: f798f6cd 2d09b5a1 Author: Lawrence Sebald <ljs...@us...> Date: Tue Apr 30 10:39:14 2024 -0400 Merge pull request #528 from pcercuei/bin-rule Makefile.rules: Add rule to create binary executables commit 2d09b5a1fc147f1f113ca0f05b71ffe0ecfcdb9e Author: Paul Cercueil <pa...@cr...> Date: Thu Apr 25 20:10:00 2024 +0200 Makefile.rules: Add rule to create binary executables Add a rule to create (unscrambled) .bin files from .elf files. Signed-off-by: Paul Cercueil <pa...@cr...> ----------------------------------------------------------------------- Summary of changes: Makefile.rules | 3 +++ utils/dc-chain/config/config.mk.14.0.1-dev.sample | 7 +++++++ utils/dc-chain/doc/changelog.txt | 2 ++ utils/dc-chain/scripts/init.mk | 7 +++++++ 4 files changed, 19 insertions(+) diff --git a/Makefile.rules b/Makefile.rules index e670cda5..aafeb9bf 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -51,6 +51,9 @@ endif %.o: %.S kos-cc -c $< -o $@ +%.bin: %.elf + kos-objcopy -O binary $< $@ + subdirs: $(patsubst %, _dir_%, $(SUBDIRS)) $(patsubst %, _dir_%, $(SUBDIRS)): diff --git a/utils/dc-chain/config/config.mk.14.0.1-dev.sample b/utils/dc-chain/config/config.mk.14.0.1-dev.sample index 2ad0b606..74ae23b8 100644 --- a/utils/dc-chain/config/config.mk.14.0.1-dev.sample +++ b/utils/dc-chain/config/config.mk.14.0.1-dev.sample @@ -170,6 +170,13 @@ newlib_c99_formats=1 # characters for the printf and scanf family of routines. #newlib_multibyte=1 +# iconv - Character Encoding Conversions Support (encoding list) +# Define this to enable support for the iconv() function and <iconv.h> header +# file. The given comma separated list tells Newlib which encoding types to +# include converters for going to and from. For the full list of available +# encodings, see the Newlib configuration documentation. +#newlib_iconv_encodings=us_ascii,utf8,utf16,ucs_2_internal,ucs_4_internal + # Optimize Newlib for Space (1|0) # Define this to enable optimizing for space when building Newlib. This will # build Newlib with compiler flags which favor smaller code sizes over faster diff --git a/utils/dc-chain/doc/changelog.txt b/utils/dc-chain/doc/changelog.txt index 3d86f1f4..00b77059 100644 --- a/utils/dc-chain/doc/changelog.txt +++ b/utils/dc-chain/doc/changelog.txt @@ -1,3 +1,5 @@ +2024-04-30: Added config option for enabling iconv library support in Newlib. + (Falco Girgis) 2024-04-21: Added D to list of supported languages, added m4-single as a default precision mode, added --disable-libphobos to gcc-pass2 (Falco Girgis) diff --git a/utils/dc-chain/scripts/init.mk b/utils/dc-chain/scripts/init.mk index 438f75d1..004165ea 100644 --- a/utils/dc-chain/scripts/init.mk +++ b/utils/dc-chain/scripts/init.mk @@ -152,6 +152,13 @@ ifdef newlib_multibyte endif endif +ifdef newlib_iconv_encodings + ifneq (0,$(newlib_iconv_encodings)) + newlib_extra_configure_args += --enable-newlib-iconv + newlib_extra_configure_args += --enable-newlib-iconv-encodings=$(newlib_iconv_encodings) + endif +endif + ifdef disable_nls ifneq (0,$(disable_nls)) extra_configure_args += --disable-nls hooks/post-receive -- A pseudo Operating System for the Dreamcast. |