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 = [ dependencies = [
"libgmp", "libgmp",
"libmpfr", "libmpfr",
"ncurses",
"readline"
] ]
script = """ script = """
DYNAMIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=( COOKBOOK_CONFIGURE_FLAGS+=(
--disable-binutils --disable-binutils
--disable-ld --disable-ld
@ -17,6 +21,12 @@ COOKBOOK_CONFIGURE_FLAGS+=(
--disable-gprof --disable-gprof
--disable-gprofng --disable-gprofng
--disable-intl --disable-intl
--with-system-readline
--with-gmp="${COOKBOOK_SYSROOT}"
--with-mpfr="${COOKBOOK_SYSROOT}"
--with-curses
) )
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
cookbook_configure cookbook_configure
""" """