gdb: compile and startup without errors. can print 1 + 1

This commit is contained in:
Timmy Douglas 2025-11-08 22:19:03 -08:00
parent 4c984a4dd0
commit eff4a44f23

View File

@ -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
"""