]> Kevux Git Server - fll/commitdiff
Cleanup: rename linker/archiver to indexer in featureless make and tweak bootstrap.sh.
authorKevin Day <thekevinday@gmail.com>
Sun, 6 Sep 2020 22:35:23 +0000 (17:35 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 6 Sep 2020 23:31:03 +0000 (18:31 -0500)
The linker program 'ar' creates an archive which is essentially an index.
By switching the words from linker and archiver to indexer, I believe that I can avoid terminology conflicts.
This avoids conflicting the 'linker' in terms of 'ar' and the 'linker' in terms of 'ln'.
This avoids conflicting the 'archiver' in terms of 'ar' and the 'archiver' in terms of 'bzip2'.

Use "return" instead of "exit" in bootstrap.sh.

66 files changed:
build/level_0/settings
build/level_1/settings
build/level_2/settings
build/monolithic/settings
build/scripts/bootstrap.sh
level_0/f_account/data/build/settings
level_0/f_color/data/build/settings
level_0/f_console/data/build/settings
level_0/f_conversion/data/build/settings
level_0/f_directory/data/build/settings
level_0/f_environment/data/build/settings
level_0/f_file/data/build/settings
level_0/f_fss/data/build/settings
level_0/f_iki/data/build/settings
level_0/f_memory/data/build/settings
level_0/f_path/data/build/settings
level_0/f_pipe/data/build/settings
level_0/f_print/data/build/settings
level_0/f_serialize/data/build/settings
level_0/f_socket/data/build/settings
level_0/f_status/data/build/settings
level_0/f_string/data/build/settings
level_0/f_type/data/build/settings
level_0/f_utf/data/build/settings
level_1/fl_color/data/build/settings
level_1/fl_console/data/build/settings
level_1/fl_conversion/data/build/settings
level_1/fl_directory/data/build/settings
level_1/fl_environment/data/build/settings
level_1/fl_fss/data/build/settings
level_1/fl_iki/data/build/settings
level_1/fl_print/data/build/settings
level_1/fl_status/data/build/settings
level_1/fl_string/data/build/settings
level_1/fl_utf/data/build/settings
level_1/fl_utf_file/data/build/settings
level_2/fll_execute/data/build/settings
level_2/fll_file/data/build/settings
level_2/fll_fss/data/build/settings
level_2/fll_path/data/build/settings
level_2/fll_program/data/build/settings
level_2/fll_status/data/build/settings
level_3/byte_dump/data/build/settings
level_3/fake/c/private-build.c
level_3/fake/c/private-build.h
level_3/fake/c/private-make.c
level_3/fake/c/private-make.h
level_3/fake/data/build/settings
level_3/fake/data/build/settings-example-bzip2
level_3/fake/data/build/settings-example-bzip2recover
level_3/fake/documents/fakefile.txt
level_3/fake/documents/settings.txt
level_3/fake/specifications/fakefile.txt
level_3/fake/specifications/settings.txt
level_3/firewall/data/build/settings
level_3/fss_basic_list_read/data/build/settings
level_3/fss_basic_list_write/data/build/settings
level_3/fss_basic_read/data/build/settings
level_3/fss_basic_write/data/build/settings
level_3/fss_extended_list_read/data/build/settings
level_3/fss_extended_read/data/build/settings
level_3/fss_extended_write/data/build/settings
level_3/fss_status_code/data/build/settings
level_3/iki_read/data/build/settings
level_3/init/data/build/settings
level_3/status_code/data/build/settings

index 6f9dd388cac7d250cee8f16452ccbc5200297971..b8ad29bc9b27bfefb4984c25a85b405803bd877c 100644 (file)
@@ -16,8 +16,8 @@ modes level
 modes_default level
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-level
 build_sources_library account.c console.c conversion.c directory.c private-directory.c environment.c private-environment.c file.c private-file.c fss.c iki.c memory.c path.c private-path.c pipe.c print.c serialize.c private-serialize.c socket.c utf.c private-utf.c
index 8d33cbfe05ca6d8e0c4ac48e8f5f6afc087ffaf8..4af698117e72598c826930612bdb138b53e5e890 100644 (file)
@@ -16,8 +16,8 @@ modes level
 modes_default level
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-level -lfll_0
 build_sources_library color.c console.c conversion.c directory.c private-directory.c environment.c private-fss.c fss_basic.c fss_basic_list.c fss_extended.c fss_extended_list.c iki.c print.c status.c string.c private-string.c utf.c private-utf.c utf_file.c private-utf_file.c
index 036cc0271afe72e7cb8629af65b5975b8f5e5781..546d33aa81995c3204b44549384cf8b22e1c01c8 100644 (file)
@@ -16,8 +16,8 @@ modes level
 modes_default level
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-level -lfll_1 -lfll_0
 build_sources_library execute.c private-execute.c file.c fss.c private-fss.c fss_basic.c fss_basic_list.c fss_extended.c fss_extended_list.c fss_status.c path.c program.c status.c
index 88b8e738a6ee39d16b16bd8a33c86698135844e3..88f48627f138433508a449d1c08746a5b6703ca5 100644 (file)
@@ -16,8 +16,8 @@ modes monolithic
 modes_default monolithic
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-monolithic
 build_sources_library level_0/account.c level_0/console.c level_0/conversion.c level_0/directory.c level_0/private-directory.c level_0/environment.c level_0/private-environment.c level_0/file.c level_0/private-file.c level_0/fss.c level_0/iki.c level_0/memory.c level_0/path.c level_0/private-path.c level_0/pipe.c level_0/print.c level_0/serialize.c level_0/private-serialize.c level_0/socket.c level_0/utf.c level_0/private-utf.c level_1/color.c level_1/console.c level_1/conversion.c level_1/directory.c level_1/private-directory.c level_1/environment.c level_1/private-fss.c level_1/fss_basic.c level_1/fss_basic_list.c level_1/fss_extended.c level_1/fss_extended_list.c level_1/iki.c level_1/print.c level_1/status.c level_1/string.c level_1/private-string.c level_1/utf.c level_1/private-utf.c level_1/utf_file.c level_1/private-utf_file.c level_2/execute.c level_2/private-execute.c level_2/file.c level_2/fss.c level_2/private-fss.c level_2/fss_basic.c level_2/fss_basic_list.c level_2/fss_extended.c level_2/fss_extended_list.c level_2/fss_status.c level_2/path.c level_2/program.c level_2/status.c
index bb3169dd4b1d9b9ecbe83f5e72e00c96269adb21..71e6161bb657c41029801487623247fb2a40a230 100644 (file)
@@ -158,6 +158,11 @@ bootstrap_main() {
 
   bootstrap_load_settings
 
+  if [[ $? -ne 0 ]] ; then
+    bootstrap_cleanup
+    return 1
+  fi
+
   if [[ $mode == "" ]] ; then
     mode=${variables[$(bootstrap_id modes_default)]}
 
@@ -173,6 +178,11 @@ bootstrap_main() {
 
   bootstrap_load_settings_mode
 
+  if [[ $? -ne 0 ]] ; then
+    bootstrap_cleanup
+    return 1
+  fi
+
   project_built="${path_build_stage}${variables[$(bootstrap_id project_name)]}"
   if [[ $process != "" ]] ; then
     project_built="${project_built}-$process"
@@ -312,9 +322,19 @@ bootstrap_main() {
     else
       if [[ ! -f ${project_built}.prepared ]] ; then
         bootstrap_prepare_build
+
+        if [[ $? -ne 0 ]] ; then
+          bootstrap_cleanup
+          return 1
+        fi
       fi
 
       bootstrap_operation_build
+
+      if [[ $? -ne 0 ]] ; then
+        bootstrap_cleanup
+        return 1
+      fi
     fi
   elif [[ $operation == "clean" ]] ; then
     if [[ $verbosity != "quiet" ]] ; then
@@ -405,9 +425,9 @@ bootstrap_id() {
 
   case $name in
     "build_compiler") echo -n 0;;
-    "build_language") echo -n 1;;
-    "build_libraries") echo -n 2;;
-    "build_linker") echo -n 3;;
+    "build_indexer") echo -n 1;;
+    "build_language") echo -n 2;;
+    "build_libraries") echo -n 3;;
     "build_script") echo -n 4;;
     "build_shared") echo -n 5;;
     "build_sources_headers") echo -n 6;;
@@ -486,11 +506,10 @@ bootstrap_load_settings() {
   fi
 
   if [[ $failure != "" ]] ; then
-    bootstrap_cleanup
-    exit $failure
+    return 1
   fi
 
-  for i in build_compiler build_language build_libraries build_linker build_script build_shared build_sources_headers build_sources_library build_sources_program build_sources_setting build_sources_script build_static defines_all defines_shared defines_static environment flags_all flags_library flags_program flags_shared flags_static modes modes_default path_language path_headers path_library_script path_library_shared path_library_static path_program_script path_program_shared path_program_static path_sources path_standard process_post process_pre project_name search_exclusive search_shared search_static version_major version_micro version_minor ; do
+  for i in build_compiler build_indexer build_language build_libraries build_script build_shared build_sources_headers build_sources_library build_sources_program build_sources_setting build_sources_script build_static defines_all defines_shared defines_static environment flags_all flags_library flags_program flags_shared flags_static modes modes_default path_language path_headers path_library_script path_library_shared path_library_static path_program_script path_program_shared path_program_static path_sources path_standard process_post process_pre project_name search_exclusive search_shared search_static version_major version_micro version_minor ; do
     variables[$(bootstrap_id $i)]=$(grep -s -o "^[[:space:]]*$i[[:space:]].*\$" $settings_file | sed -e "s|^[[:space:]]*$i\>||" -e 's|^[[:space:]]*||')
   done
 }
@@ -517,8 +536,7 @@ bootstrap_prepare_build() {
   fi
 
   if [[ $failure != "" ]] ; then
-    bootstrap_cleanup
-    exit $failure
+    return $failure
   fi
 
   touch ${project_built}.prepared
@@ -532,7 +550,7 @@ bootstrap_operation_build() {
   local micro=${variables[$(bootstrap_id version_micro)]}
   local target=${variables[$(bootstrap_id version_target)]}
   local compiler=${variables[$(bootstrap_id build_compiler)]}
-  local linker=${variables[$(bootstrap_id build_linker)]}
+  local indexer=${variables[$(bootstrap_id build_indexer)]}
   local arguments_include="-I${path_build}includes"
   local arguments_shared="-L${path_build}libraries/shared"
   local arguments_static="-L${path_build}libraries/static"
@@ -708,8 +726,7 @@ bootstrap_operation_build() {
       echo -e "${c_error}ERROR: Cannot Build, either build_shared or build_static must be set to 'yes'.$c_reset"
     fi
 
-    bootstrap_cleanup
-    exit -1
+    return 1
   fi
 
   if [[ $search_shared != "yes" && $search_static != "yes" ]] ; then
@@ -717,8 +734,7 @@ bootstrap_operation_build() {
       echo -e "${c_error}ERROR: Cannot Build, either search_shared or search_static must be set to 'yes'.$c_reset"
     fi
 
-    bootstrap_cleanup
-    exit -1
+    return 1
   fi
 
   for i in $sources_library ; do
@@ -727,8 +743,7 @@ bootstrap_operation_build() {
         echo -e "${c_error}ERROR: Cannot Build, invalid source_library path provided: '$i'.$c_reset"
       fi
 
-      bootstrap_cleanup
-      exit -1
+      return 1
     fi
   done
 
@@ -738,8 +753,7 @@ bootstrap_operation_build() {
         echo -e "${c_error}ERROR: Cannot Build, invalid sources_program path provided: '$i'.$c_reset"
       fi
 
-      bootstrap_cleanup
-      exit -1
+      return 1
     fi
   done
 
@@ -749,8 +763,7 @@ bootstrap_operation_build() {
         echo -e "${c_error}ERROR: Cannot Build, invalid sources_headers path provided: '$i'.$c_reset"
       fi
 
-      bootstrap_cleanup
-      exit -1
+      return 1
     fi
   done
 
@@ -760,8 +773,7 @@ bootstrap_operation_build() {
         echo -e "${c_error}ERROR: Cannot Build, invalid sources_bash path provided: '$i'.$c_reset"
       fi
 
-      bootstrap_cleanup
-      exit -1
+      return 1
     fi
   done
 
@@ -771,8 +783,7 @@ bootstrap_operation_build() {
         echo -e "${c_error}ERROR: Cannot Build, invalid sources_setting path provided: '$i'.$c_reset"
       fi
 
-      bootstrap_cleanup
-      exit -1
+      return 1
     fi
   done
 
@@ -789,6 +800,16 @@ bootstrap_operation_build() {
     arguments_shared="$arguments_shared $arguments_static"
   fi
 
+  if [[ $compiler == "" ]] ; then
+    echo -e "${c_error}ERROR: Cannot Build, no '${c_notice}build_compiler${c_error}' specified, such as '${c_notice}gcc${c_error}'.$c_reset"
+    return 1
+  fi
+
+  if [[ $indexer == "" ]] ; then
+    echo -e "${c_error}ERROR: Cannot Build, no '${c_notice}build_indexer${c_error}' specified, such as '${c_notice}ar${c_error}'.$c_reset"
+    failure=1
+  fi
+
   if [[ $sources_setting != "" ]] ; then
     for i in $sources_setting ; do
       directory=$(dirname $i)
@@ -896,11 +917,12 @@ bootstrap_operation_build() {
       done
 
       if [[ $failure == "" && $sources_library != "" ]] ; then
+
         if [[ $verbosity == "verbose" ]] ; then
-          echo $linker rcs ${path_build}libraries/static/lib$name.a $sources
+          echo $indexer rcs ${path_build}libraries/static/lib$name.a $sources
         fi
 
-        $linker rcs ${path_build}libraries/static/lib$name.a $sources || failure=1
+        $indexer rcs ${path_build}libraries/static/lib$name.a $sources || failure=1
       fi
     fi
 
@@ -929,8 +951,7 @@ bootstrap_operation_build() {
       echo -e "${c_error}ERROR: failed to build.$c_reset"
     fi
 
-    bootstrap_cleanup
-    exit $failure
+    return 1
   fi
 
   touch ${project_built}.built
index 5d289640281d5e06e0fd1a8052c00895ed32b31c..d776bf6661b6b6fc253744dc1d87a21e69e17e36 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual
 build_sources_library account.c
index c4f5eac15f1ab90103a4f218dca13e154542a5e7..b0dccca6f5eed61dfbae968ad0b86d3c09878131 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual
 build_sources_library
index 7dab93709cb5ab526a5bc2c29a04b1def487e3d7..0edd6fbc7ca7b2d66cb6e1f27e534507cc6611aa 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library console.c
index 11624ccb9b08c0016541ab7f945c13e20524d881..434a3c9feb55811e35bd3bd58049fa9de736a364 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library conversion.c
index 01c4e2482a1bd8d5c405476ec5ca90b0d9a06c84..5b2c826b3f2265cb8a0eed1c4d120188c315cbdd 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library directory.c private-directory.c
index 97dc09d1d40449d96a11fb46eccabce3a039c400..ad1a0dd6f8b22848184f9a708e3ffb74d1061eff 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library environment.c private-environment.c
index 953619c5ea521dc48a5c4aadef339f56578c90c4..797fd6726901bdc5697e4ffdd207c852f60e8657 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library file.c private-file.c
index 5b746028672b7004b34e50e782c34890a7fc3fab..0611f354a58bc28b7cacf50fc8e82de362a5ce90 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library fss.c
index d17147dfa8c4a5d791d7adaeb97b5f419278e3ac..43c0f2c7a056a0a11f63ba25b6965d562f75a2d6 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library iki.c
index 8dbc4964c4df83903309933a9b66645620741d36..3f4acc64484f7c7ae43d4dcd86b1df4b5a64b857 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual
 build_sources_library memory.c
index fc6701a5bba10da905b7b9a597aee70c3bc2905d..2c62f482c1e940258faa950dfae12880a20bd98a 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library path.c private-path.c
index 1147df1812b59e95223bfb856c191c3c22f592a4..1d8bc91069eba3c9e2493eeab202f0fe454ba374 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual
 build_sources_library pipe.c
index 54be37cd3434a992218790769971d4b84eb8f0c4..857a605dd01a18678bb7aeb776d82366565dbc97 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library print.c
index 0d08928787f7dd823c15a92d2f5860f199ea32c9..603b6072e6355c332f211001f4e69188d022f7c4 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library serialize.c private-serialize.c
index 9b4dc47f67468824a24375250318c359241eef64..bedd8f0c01aa8d5d616c3cb9ebff9e1879fd25ac 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library socket.c
index 7b357292fa071e1c1ac5aa53a27805429d978b3e..0010c194c6b3894f4ce130d3f5bb582cc5a7b870 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual
 build_sources_library
index fbcd0d4434dd299fb50dce2b09e6f51047ed8078..2f4089b9d62c6643d67ff630169eb79eccc48866 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library
index 93b9eb96ef59e6295ca40fcdbd22b314d4fe2e9d..8bb632fdfe4158ce1ae7f888483ba36f50772a19 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual
 build_sources_library
index 5c149bb9acf02871d4ca861fa0407349d2a2edc5..20a50dff891611ef6097070314d4de78c7603b84 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_memory
 build_sources_library utf.c private-utf.c
index 7fec93b09540673b66b1048f5333511e6ceb7735..d65aec1b12a4ab16f28004bae668082fe3d6e670 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_print -lf_file -lf_memory
 build_sources_library color.c
index 491a237caccd451f335958b36eaef073570326c5..8cdee2caef90adcea8c7ce61858d1b4d3e103e99 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_conversion -lf_console -lf_utf -lf_memory
 build_sources_library console.c
index 6105dee68afdcbff7066a350257ec87593065daf..80a9744f41b8d27499184bc7bc37496726076d4e 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_conversion -lf_utf -lf_memory
 build_sources_library conversion.c
index 6184d2c0e21697d4f32b3b0566a7513af5f806bb..4c8001ad6418825c9cb04774edc763c5bebc1381 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_path -lf_file -lf_directory -lf_utf -lf_memory
 build_sources_library directory.c private-directory.c
index 3988b5a660ed7ede86fe438d599380e2a69b5d85..ca816f4a08426fa36afff232b964a5974a98fa8c 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_path -lf_environment -lf_utf -lf_memory
 build_sources_library environment.c
index 0539c6666c7a729346d7949d21ad1c795041f15e..9a70357fa56e98f804e82d38b0fde1bb3a8ef933 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_fss -lf_file -lf_utf -lf_memory
 build_sources_library private-fss.c fss_basic.c fss_basic_list.c fss_extended.c fss_extended_list.c
index 5b94f71907ac4e1a5af3cae8543e8106e4bc27bf..d0d16d07efec74fdf9e1134f67d3e73f124a3719 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_iki -lf_utf -lf_memory
 build_sources_library iki.c
index 2068a958f57e426c1fbf83f8205b1ee25a4a317f..6ef8239f84f46f9269e5ca681903908f228f2080 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_print -lf_conversion -lf_utf -lf_memory
 build_sources_library print.c
index e582323a114b24c29dc9449f3a42a88769e51be9..12ad355e438fe9576302b5c8190b0d1ea02c0486 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library status.c
index d17a1e9d47a324d78b9d646cf45e47a28d3f5daf..4e5ca81f29d3be34fe5c4dab2c4e86c0877ae15c 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library string.c private-string.c
index 0533a88b73bf3dd93c6f69d8bc4ece5ffbf4e71c..a1d95f8699663451e8daa59d344967bcc518f6a2 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_utf -lf_memory
 build_sources_library utf.c private-utf.c
index 83edb99fa596750ee9291116a9c6297f21e47dc5..9f4057627f86aa8e2a4baccb8f35b468f004cb10 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lf_file -lf_utf -lf_memory
 build_sources_library utf_file.c private-utf_file.c
index a70371b5b2fec6b8ef956dc329b9be52114a1596..224c3a00f85ff2f70e6dced4b011dd573cd277a0 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfl_string -lfl_environment -lf_utf -lf_path -lf_file -lf_environment -lf_memory
 build_sources_library execute.c private-execute.c
index ac1cfb8173fd53716f667e3b50f79533fe460586..93b342a2edeacfd85d4d29ecf00c1d5fb06d77f5 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfl_color -lf_print -lf_file -lf_memory
 build_sources_library file.c
index 5983b60fb8f3fa9d0d48dda250bc548c9d4bdbad..53b7031eca1154563f5b32fcf05250186769d679 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfl_string -lfl_status -lfl_fss -lfl_conversion -lf_file -lf_fss -lf_conversion -lf_utf -lf_memory
 build_sources_library fss.c private-fss.c fss_basic.c fss_basic_list.c fss_extended.c fss_extended_list.c fss_status.c
index 26fa3f2e3b94ad25c3d4c6dd61784a0f61ca106b..65fcd0394c56876adac11b4134be6ea44e504246 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfl_string -lf_utf -lf_path -lf_memory
 build_sources_library path.c
index e73e732fdc4e80ddb2d62c8a66ae30ebdcdb523f..98e1cfdc61a57003d5b3b51df4fe7fe56cd9ae7d 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfl_string -lfl_color -lf_print -lf_file -lf_console -lf_utf -lf_memory
 build_sources_library program.c
index 2665e87c81fc947820c532e2d6626a23ea98de7c..73c2cc46f58ccb10c0a260ad957ed082cde3c09f 100644 (file)
@@ -16,8 +16,8 @@ modes individual
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfl_string -lfl_status -lf_conversion -lf_utf -lf_memory
 build_sources_library status.c
index c87f4a31091564c99999d0367234fc231ef2ebe9..22699a3f1720cee5b04e9302397041774bbf3eca 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfl_utf -lfl_string -lfl_conversion -lfl_console -lfl_color -lf_print -lf_pipe -lf_file -lf_conversion -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 52e485baeff086ce0f95d681a6487f2eb35367d7..55ed70e2b66103b3fe051edd01ddeaf73ed6dd69 100644 (file)
@@ -995,7 +995,7 @@ extern "C" {
       }
     }
 
-    fake_execute(data, data_build.environment, data_build.setting.build_linker, arguments, status);
+    fake_execute(data, data_build.environment, data_build.setting.build_indexer, arguments, status);
 
     f_macro_string_dynamic_t_delete_simple(file_name);
     f_macro_string_dynamic_t_delete_simple(source_path);
@@ -1250,9 +1250,9 @@ extern "C" {
 
     const f_string_t settings_name[] = {
       fake_build_setting_name_build_compiler,
+      fake_build_setting_name_build_indexer,
       fake_build_setting_name_build_language,
       fake_build_setting_name_build_libraries,
-      fake_build_setting_name_build_linker,
       fake_build_setting_name_build_script,
       fake_build_setting_name_build_shared,
       fake_build_setting_name_build_sources_headers,
@@ -1296,9 +1296,9 @@ extern "C" {
 
     const f_string_length_t settings_length[] = {
       fake_build_setting_name_build_compiler_length,
+      fake_build_setting_name_build_indexer_length,
       fake_build_setting_name_build_language_length,
       fake_build_setting_name_build_libraries_length,
-      fake_build_setting_name_build_linker_length,
       fake_build_setting_name_build_script_length,
       fake_build_setting_name_build_shared_length,
       fake_build_setting_name_build_sources_headers_length,
@@ -1341,8 +1341,8 @@ extern "C" {
     };
 
     f_string_dynamics_t build_compiler = f_string_dynamics_t_initialize;
+    f_string_dynamics_t build_indexer = f_string_dynamics_t_initialize;
     f_string_dynamics_t build_language = f_string_dynamics_t_initialize;
-    f_string_dynamics_t build_linker = f_string_dynamics_t_initialize;
     f_string_dynamics_t build_script = f_string_dynamics_t_initialize;
     f_string_dynamics_t build_shared = f_string_dynamics_t_initialize;
     f_string_dynamics_t build_static = f_string_dynamics_t_initialize;
@@ -1369,9 +1369,9 @@ extern "C" {
 
     f_string_dynamics_t *settings_value[] = {
       &build_compiler,
+      &build_indexer,
       &build_language,
       &setting->build_libraries,
-      &build_linker,
       &build_script,
       &build_shared,
       &setting->build_sources_headers,
@@ -1511,8 +1511,8 @@ extern "C" {
     else {
       const f_string_t settings_single_name[] = {
         fake_build_setting_name_build_compiler,
+        fake_build_setting_name_build_indexer,
         fake_build_setting_name_build_language,
-        fake_build_setting_name_build_linker,
         fake_build_setting_name_build_script,
         fake_build_setting_name_build_shared,
         fake_build_setting_name_build_static,
@@ -1540,8 +1540,8 @@ extern "C" {
 
       const f_string_statics_t *settings_single_source[] = {
         &build_compiler,
+        &build_indexer,
         &build_language,
-        &build_linker,
         &build_script,
         &build_shared,
         &build_static,
@@ -1594,8 +1594,8 @@ extern "C" {
 
       f_string_dynamic_t *settings_single_destination[] = {
         &setting->build_compiler,
+        &setting->build_indexer,
         0,
-        &setting->build_linker,
         0,
         0,
         0,
@@ -1622,6 +1622,7 @@ extern "C" {
 
       uint8_t *settings_single_language[] = {
         0,
+        0,
         &setting->build_language,
       };
 
@@ -1657,8 +1658,8 @@ extern "C" {
       // 1 = "yes" or "no", 2 = path/, 3 = literal, 4 = "bash", "c", or "c++", 5 = "major", "minor", or "micro".
       uint8_t settings_single_type[] = {
         3,
-        4,
         3,
+        4,
         1,
         1,
         1,
@@ -1816,8 +1817,8 @@ extern "C" {
     }
 
     f_macro_string_dynamics_t_delete_simple(build_compiler);
+    f_macro_string_dynamics_t_delete_simple(build_indexer);
     f_macro_string_dynamics_t_delete_simple(build_language);
-    f_macro_string_dynamics_t_delete_simple(build_linker);
     f_macro_string_dynamics_t_delete_simple(build_script);
     f_macro_string_dynamics_t_delete_simple(build_shared);
     f_macro_string_dynamics_t_delete_simple(build_static);
index 3787fe8fa8bb4ddce8df3fb9d9d97bd90b232866..5b7294f978f8f389e3f4ffce7aa04eff05395309 100644 (file)
@@ -29,7 +29,7 @@ extern "C" {
     bool search_static;
 
     f_string_dynamic_t build_compiler;
-    f_string_dynamic_t build_linker;
+    f_string_dynamic_t build_indexer;
     f_string_dynamic_t path_headers;
     f_string_dynamic_t path_language;
     f_string_dynamic_t path_library_script;
@@ -113,7 +113,7 @@ extern "C" {
 
   #define fake_macro_build_setting_t_delete_simple(setting) \
     f_macro_string_dynamic_t_delete_simple(setting.build_compiler) \
-    f_macro_string_dynamic_t_delete_simple(setting.build_linker) \
+    f_macro_string_dynamic_t_delete_simple(setting.build_indexer) \
     f_macro_string_dynamic_t_delete_simple(setting.path_headers) \
     f_macro_string_dynamic_t_delete_simple(setting.path_language) \
     f_macro_string_dynamic_t_delete_simple(setting.path_library_script) \
@@ -150,7 +150,7 @@ extern "C" {
   #define fake_build_setting_name_build_compiler         "build_compiler"
   #define fake_build_setting_name_build_language         "build_language"
   #define fake_build_setting_name_build_libraries        "build_libraries"
-  #define fake_build_setting_name_build_linker           "build_linker"
+  #define fake_build_setting_name_build_indexer          "build_indexer"
   #define fake_build_setting_name_build_script           "build_script"
   #define fake_build_setting_name_build_shared           "build_shared"
   #define fake_build_setting_name_build_sources_headers  "build_sources_headers"
@@ -194,7 +194,7 @@ extern "C" {
   #define fake_build_setting_name_build_compiler_length         14
   #define fake_build_setting_name_build_language_length         14
   #define fake_build_setting_name_build_libraries_length        15
-  #define fake_build_setting_name_build_linker_length           12
+  #define fake_build_setting_name_build_indexer_length          13
   #define fake_build_setting_name_build_script_length           12
   #define fake_build_setting_name_build_shared_length           12
   #define fake_build_setting_name_build_sources_headers_length  21
index bfe9963b2e99b4ce5ce712e4165f086776f3c5fc..245513edc75d83e6446c6bc5d0d68d120bc477a2 100644 (file)
@@ -572,15 +572,15 @@ extern "C" {
         }
       }
 
-      // if either compiler or linker is specified, each will replace any existing build_compiler or build_linker, respectively.
+      // if either compiler or linker is specified, each will replace any existing build_compiler or build_indexer, respectively.
       if (range_compiler) {
         data_make->setting_build.build_compiler.used = 0;
         *status = fl_string_dynamic_partial_append(data_make->buffer, *range_compiler, &data_make->setting_build.build_compiler);
       }
 
       if (F_status_is_fine(*status) && range_linker) {
-        data_make->setting_build.build_linker.used = 0;
-        *status = fl_string_dynamic_partial_append(data_make->buffer, *range_linker, &data_make->setting_build.build_linker);
+        data_make->setting_build.build_indexer.used = 0;
+        *status = fl_string_dynamic_partial_append(data_make->buffer, *range_linker, &data_make->setting_build.build_indexer);
       }
 
       if (F_status_is_error(*status)) {
@@ -1137,7 +1137,7 @@ extern "C" {
     if (unmatched) {
       const f_string_t dynamic_name[] = {
         fake_build_setting_name_build_compiler,
-        fake_build_setting_name_build_linker,
+        fake_build_setting_name_build_indexer,
         fake_build_setting_name_path_headers,
         fake_build_setting_name_path_language,
         fake_build_setting_name_path_library_script,
@@ -1157,7 +1157,7 @@ extern "C" {
 
       const f_string_length_t dynamic_length[] = {
         fake_build_setting_name_build_compiler_length,
-        fake_build_setting_name_build_linker_length,
+        fake_build_setting_name_build_indexer_length,
         fake_build_setting_name_path_headers_length,
         fake_build_setting_name_path_language_length,
         fake_build_setting_name_path_library_script_length,
@@ -1177,7 +1177,7 @@ extern "C" {
 
       const f_string_dynamic_t dynamic_value[] = {
         data_make->setting_build.build_compiler,
-        data_make->setting_build.build_linker,
+        data_make->setting_build.build_indexer,
         data_make->setting_build.path_headers,
         data_make->setting_build.path_language,
         data_make->setting_build.path_library_script,
@@ -1426,7 +1426,6 @@ extern "C" {
     }
 
     const f_string_static_t operations_name[] = {
-      f_macro_string_static_t_initialize(fake_make_operation_archive, fake_make_operation_archive_length),
       f_macro_string_static_t_initialize(fake_make_operation_break, fake_make_operation_break_length),
       f_macro_string_static_t_initialize(fake_make_operation_build, fake_make_operation_build_length),
       f_macro_string_static_t_initialize(fake_make_operation_clean, fake_make_operation_clean_length),
@@ -1440,6 +1439,7 @@ extern "C" {
       f_macro_string_static_t_initialize(fake_make_operation_group, fake_make_operation_group_length),
       f_macro_string_static_t_initialize(fake_make_operation_groups, fake_make_operation_groups_length),
       f_macro_string_static_t_initialize(fake_make_operation_if, fake_make_operation_if_length),
+      f_macro_string_static_t_initialize(fake_make_operation_index, fake_make_operation_index_length),
       f_macro_string_static_t_initialize(fake_make_operation_link, fake_make_operation_link_length),
       f_macro_string_static_t_initialize(fake_make_operation_mode, fake_make_operation_mode_length),
       f_macro_string_static_t_initialize(fake_make_operation_modes, fake_make_operation_modes_length),
@@ -1457,7 +1457,6 @@ extern "C" {
     };
 
     const f_string_range_t operations_range[] = {
-      f_macro_string_range_initialize(fake_make_operation_archive_length),
       f_macro_string_range_initialize(fake_make_operation_break_length),
       f_macro_string_range_initialize(fake_make_operation_build_length),
       f_macro_string_range_initialize(fake_make_operation_clean_length),
@@ -1471,6 +1470,7 @@ extern "C" {
       f_macro_string_range_initialize(fake_make_operation_group_length),
       f_macro_string_range_initialize(fake_make_operation_groups_length),
       f_macro_string_range_initialize(fake_make_operation_if_length),
+      f_macro_string_range_initialize(fake_make_operation_index_length),
       f_macro_string_range_initialize(fake_make_operation_link_length),
       f_macro_string_range_initialize(fake_make_operation_mode_length),
       f_macro_string_range_initialize(fake_make_operation_modes_length),
@@ -1488,7 +1488,6 @@ extern "C" {
     };
 
     const uint8_t operations_type[] = {
-      fake_make_operation_type_archive,
       fake_make_operation_type_break,
       fake_make_operation_type_build,
       fake_make_operation_type_clean,
@@ -1502,6 +1501,7 @@ extern "C" {
       fake_make_operation_type_group,
       fake_make_operation_type_groups,
       fake_make_operation_type_if,
+      fake_make_operation_type_index,
       fake_make_operation_type_link,
       fake_make_operation_type_mode,
       fake_make_operation_type_modes,
@@ -1732,8 +1732,8 @@ extern "C" {
 #ifndef _di_fake_make_operate_process_
   void fake_make_operate_process(const fake_data_t data, const f_string_range_t section_name, const uint8_t operation, const f_string_static_t operation_name, const f_string_dynamics_t arguments, const bool success, uint8_t *operation_if, fake_make_data_t *data_make, f_string_lengths_t *section_stack, f_status_t *status) {
 
-    if (operation == fake_make_operation_type_archive) {
-      int return_code = fake_execute(data, data_make->environment, data_make->setting_build.build_linker, arguments, status);
+    if (operation == fake_make_operation_type_index) {
+      int return_code = fake_execute(data, data_make->environment, data_make->setting_build.build_indexer, arguments, status);
 
       if (F_status_is_error(*status)) {
         fake_print_message(data, F_status_set_fine(*status), "fake_execute", F_true, data_make->print);
@@ -3021,7 +3021,7 @@ extern "C" {
   void fake_make_operate_validate(const fake_data_t data, const f_string_range_t section_name, const f_array_length_t operation, const f_string_static_t operation_name, const f_string_dynamics_t arguments, uint8_t *operation_if, fake_make_data_t *data_make, f_string_lengths_t *section_stack, f_status_t *status) {
     if (F_status_is_error(*status)) return;
 
-    if (operation == fake_make_operation_type_archive || operation == fake_make_operation_type_run || operation == fake_make_operation_type_shell) {
+    if (operation == fake_make_operation_type_index || operation == fake_make_operation_type_run || operation == fake_make_operation_type_shell) {
       if (arguments.used == 0) {
         if (data.verbosity != fake_verbosity_quiet && data_make->print.to) {
           printf("%c", f_string_eol[0]);
@@ -3030,13 +3030,13 @@ extern "C" {
 
         *status = F_status_set_error(F_failure);
       }
-      else if (operation == fake_make_operation_type_archive) {
-        if (!data_make->setting_build.build_linker.used) {
+      else if (operation == fake_make_operation_type_index) {
+        if (!data_make->setting_build.build_indexer.used) {
 
           if (data.verbosity != fake_verbosity_quiet && data_make->print.to) {
             fprintf(data_make->print.to, "%c", f_string_eol[0]);
-            fl_color_print(data_make->print.to, data_make->print.context, data.context.reset, "%s: No linker has been specified, cannot perform '", data_make->print.prefix);
-            fl_color_print(data_make->print.to, data.context.notable, data.context.reset, fake_make_operation_archive);
+            fl_color_print(data_make->print.to, data_make->print.context, data.context.reset, "%s: No indexer has been specified, cannot perform '", data_make->print.prefix);
+            fl_color_print(data_make->print.to, data.context.notable, data.context.reset, fake_make_operation_index);
             fl_color_print_line(data_make->print.to, data_make->print.context, data.context.reset, "' section operation.");
           }
 
index b7dceeaa96cc7a4004bae2efc2914ac2f5c9f0b6..04f9d119639a7cdb5352e2b4667f96dd0d299a4e 100644 (file)
@@ -60,7 +60,6 @@ extern "C" {
 #endif // _di_fake_make_setting_t_
 
 #ifndef _di_fake_make_operation_
-  #define fake_make_operation_archive  "archive"
   #define fake_make_operation_build    "build"
   #define fake_make_operation_break    "break"
   #define fake_make_operation_clean    "clean"
@@ -74,6 +73,7 @@ extern "C" {
   #define fake_make_operation_group    "group"
   #define fake_make_operation_groups   "groups"
   #define fake_make_operation_if       "if"
+  #define fake_make_operation_index    "index"
   #define fake_make_operation_link     "link"
   #define fake_make_operation_mode     "mode"
   #define fake_make_operation_modes    "modes"
@@ -89,7 +89,7 @@ extern "C" {
   #define fake_make_operation_top      "top"
   #define fake_make_operation_touch    "touch"
 
-  #define fake_make_operation_archive_length  7
+  #define fake_make_operation_index_length    5
   #define fake_make_operation_break_length    5
   #define fake_make_operation_build_length    5
   #define fake_make_operation_clean_length    5
@@ -119,8 +119,7 @@ extern "C" {
   #define fake_make_operation_touch_length    5
 
   enum {
-    fake_make_operation_type_archive = 1,
-    fake_make_operation_type_break,
+    fake_make_operation_type_break = 1,
     fake_make_operation_type_build,
     fake_make_operation_type_clean,
     fake_make_operation_type_compile,
@@ -133,6 +132,7 @@ extern "C" {
     fake_make_operation_type_group,
     fake_make_operation_type_groups,
     fake_make_operation_type_if,
+    fake_make_operation_type_index,
     fake_make_operation_type_link,
     fake_make_operation_type_mode,
     fake_make_operation_type_modes,
index e0b9cfe5794f492c407cecaab8a43df313ee674e..1920e091794ede63caf727af8ce05fe321bdcf5b 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_path -lfll_execute -lfl_environment -lfll_fss -lfl_utf -lfl_string -lfl_status -lfl_iki -lfl_fss -lfl_directory -lfl_conversion -lfl_console -lfl_color -lf_account -lf_print -lf_path -lf_iki -lf_file -lf_fss -lf_environment -lf_directory -lf_conversion -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index d5aa761c9f6a6470a1ba0fd2d43e500a03b1cd94..38efe2b5ba0896fa8da4321941569e24b0c6b6ca 100644 (file)
@@ -17,8 +17,8 @@ version_micro 8
 version_target major
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_sources_program blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c bzip2.c
 build_sources_headers bzlib.h
index 58867592a0f5e614db441307795ed84dca1c6690..615986d7a90221aab8670524ee197ab6af5e6339 100644 (file)
@@ -17,8 +17,8 @@ version_micro 8
 version_target major
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_sources_program bzip2recover.c
 build_script no
index c9f6c387e025fcaa4ec29d3f01680d55b30ffe80..5e7ca58353322da1f1282a20fa84be889b568a70 100644 (file)
@@ -14,11 +14,6 @@ Fakefile Documentation:
     The build settings may also be specified in the Settings Section.
 
     The following settings are available (in addition to the build settings)\:
-    - archiver\:
-      This represents the name of the linker program to use, such as "ar".
-
-      When specified and "load_build" is "true", then this will override the "build_linker" specified in the loaded build settings.
-
     - compiler\:
       This represents the name of the compiler program to use, such as "gcc".
 
@@ -46,6 +41,11 @@ Fakefile Documentation:
 
       The return code for programs can still be retrieved through using the reserved iki vaiable "return".
 
+    - index\:
+      This represents the name of the indexer program to use, such as "ar".
+
+      When specified and "load_build" is "true", then this will override the "build_indexer" specified in the loaded build settings.
+
     - load_build\:
       This represents whether or not to load the load the build settings file.
       The first Content value may be "true" to load the build settings and "false" to not load the build settings file.
index d339346a5fd1d88eab286b6aa0b45591c83800d2..ce60e3e0f23281ea8f19c653605fc45535896089 100644 (file)
@@ -10,17 +10,17 @@ Settings Documentation:
     All of the arguments assume the GCC, so if a non-GCC executable is provided supports the GCC argument structure, then that is by effect supported.
     Many of the parameters in the settings file can be changed if using a non-GCC, but there is certain hard-coded functionality that may still need changing.
 
+  build_indexer\:
+    Exactly like build_compiler, except for the linker, aka indexer.
+    The default behavior is to support the GNU ar program.
+    As with build_compiler, anything linker that supports the "ar" program parameters is effectively supported.
+
   build_language\:
     The language to build with.
     The only currently supported languages are: bash, c, and c++.
     The "bash" language is not currently implemented and needs some consideration because there is nothing to compile.
     The "bash" language will likely build a set of individual scripts, and perhaps script dependencies, into a single bash script.
 
-  build_linker\:
-    Exactly like build_compiler, except for the linker.
-    Currently only supports the GNU ar program.
-    As with build_compiler, anything linker that supports the "ar" program parameters is effectively supported.
-
   build_libraries\:
     A collection of libraries to be linked against.
     The should contain the compiler specific parameter parts, such as the "-l" prefix.
@@ -168,7 +168,7 @@ Settings Documentation:
     When "no", the search path during compile time for shared libraries will include shared library paths followed by static library paths.
     Setting this to "yes" helps prevent static libraries from ended up in shared libraries (very useful when bootstrapping a system).
     Setting this to "no" allows for including static libraries if no shared libraries are found but static are.
-    This does not alter search paths introduced automatically by the "build_compiler" or "build_linker", so it is still possible for static libraries to end up even when this is set to "yes".
+    This does not alter search paths introduced automatically by the "build_compiler" or "build_indexer", so it is still possible for static libraries to end up even when this is set to "yes".
 
   search_shared\:
     When "yes", shared library paths are searched during compile.
index 51a74a53e7e7ebb09de3d875827a7cb7f8d59db3..d73bad54b87d9c1ceaafcc497cc5fb3c9d1955ab 100644 (file)
@@ -36,7 +36,6 @@ Fakefile Specification:
   The build settings may also be specified in the Settings Section.
 
   The Section Operation Objects are\:
-  - archive: One or more Content.
   - break: Zero or One Content. If specified, First content must be one of "success" or "failure".
   - build: Zero or One Content. First Content represents file name of the settings file to use.
   - clean: Zero Content.
@@ -50,6 +49,7 @@ Fakefile Specification:
   - group: Two or more Content. First Content is group name or number, remaining Content are paths to files.
   - groups: Two or more Content. First Content is group name or number, remaining Content are paths to files.
   - if: One or more Content. First Content is the condition, remaining Content are specific to the condition.
+  - index: One or more Content.
   - link: Two Content. First Content is the link target file and second Content is the pointer file (the link).
   - mode: Two or more Content. First Content is the mode, remaining Content are paths to files.
   - modes: Two or more Content. First Content is the mode, remaining Content are paths to files.
index 2e5047d1906aa587935f9ca3344233e7dfa8e3ea..ef9895e1a5082a7c200aa3c672fd9f0de41b5aa1 100644 (file)
@@ -11,8 +11,8 @@ Settings Specification:
 
   Object Names and their respective Content purpose/restrictions\:
     "build_compiler": Must only be a valid filename.
+    "build_indexer": Must only be a valid filename.
     "build_language": Must only be one of: "bash", "c", or "c++".
-    "build_linker": Must only be a valid filename.
     "build_libraries": Must only contain any number of valid library include arguments that are valid for the compiler defined in "build_compiler" Object.
     "build_script": Must only one of: "yes" or "no".
     "build_shared": Must only one of: "yes" or "no".
index ed213840f007a4614530d02acba21bc491826115..3be19a6f724fe25180476c3ba9c5126558df656c 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_execute -lfl_environment -lfl_string -lfl_status -lfl_fss -lfl_conversion -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_path -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index ff5c8d890ced7b1beeaa66d248164baeed4f10cb..ed0b256dc0f4d23a5ac4dc08cd71f08bdb8518db 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_print -lfl_fss -lfl_conversion -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 147f7c91d10aad48b5db1e8b09db5f4ec373ac0d..a5fc4b973a2d30aa5ce54df9b1edff73d9ef3904 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_fss -lfl_conversion -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 759f9380e6ec27657218df2fde6b6056bdc61cde..d2384712d46bbe996d4eb957a1e7fedb29b0ea20 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_print -lfl_fss -lfl_conversion -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index d392fa113d2b35f5f73c635dadfa7820becbd1e4..05d9fd096c604705977b42992fcaa8c9886d791f 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_fss -lfl_conversion -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index ef0577976e43e651ecfb4a96d5610ccc454271b4..dab5a5649b4db290d7059e015cbb757a0522b71c 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_print -lfl_fss -lfl_conversion -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index d9183451ffb2e82c60fb9137a0f25decb13422ac..75a7c66f967a8a8c673dd288399765581ab4c8f0 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_print -lfl_fss -lfl_console -lfl_conversion -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 5249e338c45768e64186b7a5cde208c82348adc8..03d62169f5c55f1e08e1e3383bcbdb0dd3dd2bf8 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_fss -lfl_conversion -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index a8b9c6edb40d8f5f5155d88555c061cb829a96f8..aba89413e6974bfc5893f11c166c38b4543f1cc5 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_status -lfll_program -lfll_fss -lfll_file -lfll_execute -lfl_environment -lf_path -lfl_utf -lfl_string -lfl_status -lfl_fss -lfl_conversion -lfl_console -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_conversion -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 8eedb023475c1c38f569433d4e58f7476bb35abc..1f02e270fcef658c0ffe12b637b15377c1c8d7d1 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_file -lfl_utf -lfl_string -lfl_iki -lfl_conversion -lfl_console -lfl_color -lf_print -lf_pipe -lf_iki -lf_file -lf_conversion -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 4f70f184ec726e880d47929e24a39433569d043a..a897a6de3a9f9eb8e9f11d258e2308901644c18a 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_program -lfll_fss -lfl_conversion -lfll_execute -lfl_environment -lf_path -lfl_string -lfl_status -lfl_fss -lfl_console -lf_conversion -lfl_color -lf_print -lf_pipe -lf_fss -lf_file -lf_environment -lf_directory -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0
index 47522561e481d07cecc5d8675d613de7e23828ab..3ff06bf7b754b6458f3879c5d0f4050bd963737a 100644 (file)
@@ -16,8 +16,8 @@ modes individual level monolithic
 modes_default individual
 
 build_compiler gcc
+build_indexer ar
 build_language c
-build_linker ar
 build_libraries -lc
 build_libraries-individual -lfll_status -lfll_program -lfl_utf -lfl_string -lfl_status -lfl_conversion -lfl_console -lfl_color -lf_print -lf_pipe -lf_file -lf_conversion -lf_console -lf_utf -lf_memory
 build_libraries-level -lfll_2 -lfll_1 -lfll_0