Merge branch 'gdb1' into 'master'

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

See merge request redox-os/cookbook!685
This commit is contained in:
Jeremy Soller 2025-11-09 11:39:15 -07:00
commit d1acdbc8c0

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