Gdb build problem

Sergey Gusarov laborer2008@gmail.com
Sun May 8 14:36:00 GMT 2011


Hi All, Yann

In ct-ng 1.11.1 config file I've included the gdb build and got an error
"[ERROR]    configure: error: no termcap library found"

My research has shown that ct-ng ignores downloading and building
ncurses before gdb.
In particular(300-gdb.sh):

do_debug_gdb_parts() {
    do_gdb=
    do_ncurses=
    do_expat=

    if [ "${CT_GDB_CROSS}" = y ]; then
        do_gdb=y
    fi

    if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
        do_gdb=y
    fi

    if [ "${CT_GDB_NATIVE}" = "y" ]; then
        do_gdb=y
        # GDB on Mingw depends on PDcurses, not ncurses
        if [ "${CT_MINGW32}" != "y" ]; then
            do_ncurses=y
        fi
        do_expat=y
    fi
}

May be "do_ncurses=y" required also for CT_GDB_CROSS case?

Regars, Sergey

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list