From 78d64dfefc029954293066ff3bf08e2662c9bb27 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 8 Nov 2025 22:36:45 -0600 Subject: [PATCH] Update: Prepare for supporting the status debug define. The `F_status_debug_source_d` should now be supported with this change. This is not yet used. Update the build settings modes. --- data/build/settings | 6 ++++-- data/build/settings.control | 6 ++++-- data/build/stand_alone/config.h | 1 + data/build/stand_alone/settings.control | 8 +++++--- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/data/build/settings b/data/build/settings index 9425f7e..7bac1e0 100644 --- a/data/build/settings +++ b/data/build/settings @@ -4,6 +4,7 @@ # - android: Compile on an android system (using Termux; may need modification depending on the android system). # - clang: Use CLang rather than the default, which is generally GCC. # - coverage: Compile for building coverage. +# - debug: Enable debugging, such as compile time debug options. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - gcc: Use GCC specific settings. # - gcc_13: Use GCC version 13 or greater specific settings. @@ -24,8 +25,8 @@ version_micro 3 version_file micro version_target minor -modes android clang coverage fanalyzer gcc gcc_13 individual individual_thread level monolithic test thread threadless -modes_default monolithic thread gcc +modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless +modes_default debug gcc monolithic thread build_compiler gcc build_compiler-clang clang @@ -88,6 +89,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ defines -D_libcap_legacy_only_ defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_ +defines-debug -D_en_f_status_debug_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ diff --git a/data/build/settings.control b/data/build/settings.control index 28942c8..2545bac 100644 --- a/data/build/settings.control +++ b/data/build/settings.control @@ -4,6 +4,7 @@ # - android: Compile on an android system (using Termux; may need modification depending on the android system). # - clang: Use CLang rather than the default, which is generally GCC. # - coverage: Compile for building coverage. +# - debug: Enable debugging, such as compile time debug options. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - gcc: Use GCC specific settings. # - gcc_13: Use GCC version 13 or greater specific settings. @@ -24,8 +25,8 @@ version_micro 3 version_file micro version_target minor -modes android clang coverage fanalyzer gcc gcc_13 individual individual_thread level monolithic test thread threadless -modes_default monolithic thread gcc +modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless +modes_default debug gcc monolithic thread build_compiler gcc build_compiler-clang clang @@ -88,6 +89,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ defines -D_libcap_legacy_only_ defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_ +defines-debug -D_en_f_status_debug_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ diff --git a/data/build/stand_alone/config.h b/data/build/stand_alone/config.h index 3ff6131..1d5823c 100644 --- a/data/build/stand_alone/config.h +++ b/data/build/stand_alone/config.h @@ -910,6 +910,7 @@ #define _di_f_statess_destroy_callback_ #define _di_f_statess_t_ //#define _di_f_status_e_ +//#define _di_f_status_debug_d_ //#define _di_f_status_mask_d_ //#define _di_f_status_string_s_ //#define _di_f_status_string_to_ diff --git a/data/build/stand_alone/settings.control b/data/build/stand_alone/settings.control index 688554f..9b24901 100644 --- a/data/build/stand_alone/settings.control +++ b/data/build/stand_alone/settings.control @@ -7,8 +7,9 @@ # # Modes: # - android: Compile on an android system (using Termux; may need modification depending on the android system). -# - clang: Use Clang rather than the default, which is generally GCC. +# - clang: Use CLang rather than the default, which is generally GCC. # - coverage: Compile for building coverage. +# - debug: Enable debugging, such as compile time debug options. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - gcc: Use GCC specific settings. # - gcc_13: Use GCC version 13 or greater specific settings. @@ -26,8 +27,8 @@ version_micro 3 version_file micro version_target minor -modes android clang coverage fanalyzer gcc gcc_13 test thread threadless -modes_default thread gcc +modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless +modes_default debug gcc thread build_compiler gcc build_compiler-clang clang @@ -121,6 +122,7 @@ defines -include sources/c/config.h -I sources/c/ #defines -D_di_libcap_ defines -D_libcap_legacy_only_ defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_ +defines-debug -D_en_f_status_debug_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ -- 1.8.3.1