From eff4a44f231969fb813e35f02e1ea22f8a30af2e Mon Sep 17 00:00:00 2001 From: Timmy Douglas Date: Sat, 8 Nov 2025 22:19:03 -0800 Subject: [PATCH] gdb: compile and startup without errors. can print 1 + 1 --- recipes/wip/dev/debug/gdb/recipe.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipes/wip/dev/debug/gdb/recipe.toml b/recipes/wip/dev/debug/gdb/recipe.toml index c96c2b07..b74927fe 100644 --- a/recipes/wip/dev/debug/gdb/recipe.toml +++ b/recipes/wip/dev/debug/gdb/recipe.toml @@ -6,8 +6,12 @@ template = "custom" dependencies = [ "libgmp", "libmpfr", + "ncurses", + "readline" ] script = """ +DYNAMIC_INIT + COOKBOOK_CONFIGURE_FLAGS+=( --disable-binutils --disable-ld @@ -17,6 +21,12 @@ COOKBOOK_CONFIGURE_FLAGS+=( --disable-gprof --disable-gprofng --disable-intl + --with-system-readline + --with-gmp="${COOKBOOK_SYSROOT}" + --with-mpfr="${COOKBOOK_SYSROOT}" + --with-curses ) + +"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}" cookbook_configure """