aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-01-01 14:24:38 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-01-01 14:24:38 -0500
commit4733b42cd4013f679c7bcf0097a8a06f2a91d419 (patch)
tree2c9c29b4ceff7f38f4b5dfe2dacd977f909d2012
parentb7ab1953034061d97d527a9bd7561e900d73590d (diff)
Remove debugedit stuff
-rw-r--r--Makefile8
-rw-r--r--src/tomo.c10
2 files changed, 2 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 71a692d1..4d618928 100644
--- a/Makefile
+++ b/Makefile
@@ -229,11 +229,7 @@ deps: build/gc/lib/libgc.a build/unistring/lib/libgc.a build/gmp/lib/libgmp.a
build/gc/lib/libgc.a build/unistring/lib/libgc.a build/gmp/lib/libgmp.a:
$(MAKE) -C vendor
-check-utilities: check-c-compiler
- @which debugedit 2>/dev/null >/dev/null \
- || printf '\033[33;1m%s\033[m\n' "I couldn't find 'debugedit' on your system! Try installing the package 'debugedit' with your package manager. (It's not required though)"
-
-install-files: build check-utilities
+install-files: build check-c-compiler
@if ! echo "$$PATH" | tr ':' '\n' | grep -qx "$(PREFIX)/bin"; then \
echo $$PATH; \
printf "\033[31;1mError: '$(PREFIX)/bin' is not in your \$$PATH variable!\033[m\n" >&2; \
@@ -261,4 +257,4 @@ uninstall:
endif
.SUFFIXES:
-.PHONY: all build clean install install-files uninstall test tags core-libs examples deps check-utilities check-c-compiler version
+.PHONY: all build clean install install-files uninstall test tags core-libs examples deps check-c-compiler version
diff --git a/src/tomo.c b/src/tomo.c
index 416a8664..700e6f6a 100644
--- a/src/tomo.c
+++ b/src/tomo.c
@@ -526,16 +526,6 @@ void install_library(Path_t lib_dir) {
xsystem(as_owner, "cp -r '", lib_dir, "'/* '", dest, "/'");
xsystem(as_owner, "cp -r '", lib_dir, "'/.build '", dest, "/'");
}
- // If we have `debugedit` on this system, use it to remap the debugging source information
- // to point to the installed version of the source file. Otherwise, fail silently.
- if (verbose) whisper("Updating debug symbols for ", dest, "/lib", lib_name, ".a");
- int result = system(String(as_owner, "debugedit -b ", lib_dir, " -d '", dest,
- "'"
- " '",
- dest, "/lib", lib_name, ".a",
- "' "
- ">/dev/null 2>/dev/null"));
- (void)result;
print("Installed \033[1m", lib_dir, "\033[m to ", TOMO_PATH, "/lib/tomo@", TOMO_VERSION, "/", lib_name);
}