From: ljsebald <ljs...@us...> - 2023-12-24 18:52:59
|
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 30fa3aaa648db8f6ffaa6e85465663cdd0d2567c (commit) via cdd68d6f9a7a8d9c462c472f18b180ec64d7185d (commit) via 99a01bc4d08a34df220359dbe780e79ab3a1e243 (commit) from d21d9443bddf8bc311b5f3d755bdc083ab31ec8e (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 30fa3aaa648db8f6ffaa6e85465663cdd0d2567c Merge: d21d944 cdd68d6 Author: Lawrence Sebald <ljs...@us...> Date: Sun Dec 24 13:49:01 2023 -0500 Merge pull request #431 from KallistiOS/multibyte_iconv Added Toolchain Option to Enable Newlib's Multibyte/Wide Character Support commit cdd68d6f9a7a8d9c462c472f18b180ec64d7185d Author: darc <da...@pr...> Date: Sat Dec 23 14:50:30 2023 -0600 Update other dc-chain configurations with wide char support commit 99a01bc4d08a34df220359dbe780e79ab3a1e243 Author: Falco Girgis <gyr...@gm...> Date: Thu Dec 21 23:55:24 2023 -0600 Added option for enabling Newlib multibyte support - Added check for variable and application of flag to Newlib in init.mk - Added a (default disabled) flag for enabling it with a description in config.mk.stable.sample ----------------------------------------------------------------------- Summary of changes: utils/dc-chain/config/config.mk.10.5.0.sample | 7 +++++++ utils/dc-chain/config/config.mk.11.4.0.sample | 7 +++++++ utils/dc-chain/config/config.mk.12.3.0.sample | 7 +++++++ utils/dc-chain/config/config.mk.9.3.0.sample | 7 +++++++ utils/dc-chain/config/config.mk.devel.sample | 7 +++++++ utils/dc-chain/config/config.mk.legacy.sample | 7 +++++++ utils/dc-chain/config/config.mk.stable.sample | 7 +++++++ utils/dc-chain/config/config.mk.winxp-latest.sample | 7 +++++++ utils/dc-chain/scripts/init.mk | 6 ++++++ 9 files changed, 62 insertions(+) diff --git a/utils/dc-chain/config/config.mk.10.5.0.sample b/utils/dc-chain/config/config.mk.10.5.0.sample index 824e44e..c5805b8 100644 --- a/utils/dc-chain/config/config.mk.10.5.0.sample +++ b/utils/dc-chain/config/config.mk.10.5.0.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.11.4.0.sample b/utils/dc-chain/config/config.mk.11.4.0.sample index 818341e..b3d2892 100644 --- a/utils/dc-chain/config/config.mk.11.4.0.sample +++ b/utils/dc-chain/config/config.mk.11.4.0.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.12.3.0.sample b/utils/dc-chain/config/config.mk.12.3.0.sample index 620d224..ef590d2 100644 --- a/utils/dc-chain/config/config.mk.12.3.0.sample +++ b/utils/dc-chain/config/config.mk.12.3.0.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.9.3.0.sample b/utils/dc-chain/config/config.mk.9.3.0.sample index c1345be..4118fa1 100644 --- a/utils/dc-chain/config/config.mk.9.3.0.sample +++ b/utils/dc-chain/config/config.mk.9.3.0.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.devel.sample b/utils/dc-chain/config/config.mk.devel.sample index 6ab895a..6ca25e9 100644 --- a/utils/dc-chain/config/config.mk.devel.sample +++ b/utils/dc-chain/config/config.mk.devel.sample @@ -148,6 +148,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.legacy.sample b/utils/dc-chain/config/config.mk.legacy.sample index 6d93450..8fdeaee 100644 --- a/utils/dc-chain/config/config.mk.legacy.sample +++ b/utils/dc-chain/config/config.mk.legacy.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.stable.sample b/utils/dc-chain/config/config.mk.stable.sample index ff1efd8..86fce76 100644 --- a/utils/dc-chain/config/config.mk.stable.sample +++ b/utils/dc-chain/config/config.mk.stable.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/config/config.mk.winxp-latest.sample b/utils/dc-chain/config/config.mk.winxp-latest.sample index 97ac784..1d380e5 100644 --- a/utils/dc-chain/config/config.mk.winxp-latest.sample +++ b/utils/dc-chain/config/config.mk.winxp-latest.sample @@ -138,6 +138,13 @@ thread_model=kos # ptrdiff_t, intmax_t, and sized integral types. newlib_c99_formats=1 +# Multibyte Character Set Support (1|0) +# Define this to build Newlib with additional multibyte support. This enables +# three special locales: "C-JIS", "C-SJIS", and "C-EUCJP". The multibyte +# support extends to the mb and wc functions in stdlib as well as format +# characters for the printf and scanf family of routines. +#newlib_multibyte=1 + # 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/scripts/init.mk b/utils/dc-chain/scripts/init.mk index e59936b..49f12d9 100644 --- a/utils/dc-chain/scripts/init.mk +++ b/utils/dc-chain/scripts/init.mk @@ -146,6 +146,12 @@ ifdef newlib_opt_space endif endif +ifdef newlib_multibyte + ifneq (0,$(newlib_multibyte)) + newlib_extra_configure_args += --enable-newlib-mb + endif +endif + # Function to verify variable is not empty # Args: # 1 - Variable Name hooks/post-receive -- A pseudo Operating System for the Dreamcast. |