crosstool-ng/config/comp_libs/ncurses.in
Alexey Brodkin c46a6e809e ncurses: Use new v6 ABI by default
These days old v5 ABI is not that relevant as it used to be back in
2015 when ncurses 6.x was added to CT-NG.

And now we see say target "gdb" relying on "libncurses.so.5",
while up-to-date Buildroot provides "libncurses.so" & "libncurses.so.6":
--------------------------->8-------------------------
$ ldd /bin/gdb
        libncurses.so.5 => not found
        libstdc++.so.6 => /lib/libstdc++.so.6 (0x20022000)
        libm.so.6 => /lib/libm.so.6 (0x2017c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x201ba000)
        libc.so.6 => /lib/libc.so.6 (0x201c8000)
        /lib/ld-linux-arc.so.2 (0x20000000)
--------------------------->8-------------------------

Switching to a default (v6 ABI) by default. And...
--------------------------->8-------------------------
$ ldd /bin/gdb
        libncurses.so.6 => /usr/lib/libncurses.so.6 (0x20022000)
        libstdc++.so.6 => /lib/libstdc++.so.6 (0x20054000)
        libm.so.6 => /lib/libm.so.6 (0x201ae000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x201ec000)
        libc.so.6 => /lib/libc.so.6 (0x201fa000)
        /lib/ld-linux-arc.so.2 (0x20000000)
--------------------------->8-------------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-10-10 04:54:36 -07:00

58 lines
1.9 KiB
Plaintext

# ncurses config file
config NCURSES_NEW_ABI
bool "ncurses 6.0 ABI support"
default y
help
This option allows you to use the new ncurses-6 ABI.
It's wise to leave this disabled and stick with the ncurses-5 ABI!
config NCURSES_HOST_CONFIG_ARGS
string "Extra configure arguments for host ncurses"
help
Extra arguments that are passed verbatim to the configure when
building host ncurses.
config NCURSES_HOST_DISABLE_DB
bool "Disable terminfo DB on the host"
default y
help
The terminfo database is not currently not installed on the host
as a part of the toolchain built by crosstool-ng. This means the
library will not be able to use the terminals, unless that database
comes preinstalled.
Selecting this option allows one to embed some popular terminal
definitions into the library itself.
If not select, the path to the terminfo database on the host will
likely need to be passed as an argument to configure.
config NCURSES_HOST_FALLBACKS
string "List of fallback terminals for the host"
default "linux,xterm,xterm-color,xterm-256color,vt100"
help
List of terminal descriptions that will be compiled into the curses
library for the host.
config NCURSES_TARGET_CONFIG_ARGS
string "Extra configure arguments for target ncurses"
help
Extra arguments that are passed verbatim to the configure when
building target ncurses.
config NCURSES_TARGET_DISABLE_DB
bool "Disable terminfo DB on the target"
default n
help
The terminfo database is installed with the terminfo database for the
target. If you want to configure ncurses with preselected terminals,
select Y here.
config NCURSES_TARGET_FALLBACKS
string "List of fallback terminals for the target"
help
List of terminal descriptions that will be compiled into the curses
library for the target.