On 3/25/22 5:57 AM, boris busic wrote:
1) if gcc with --sys-root is used ./configure fails with: "gcc cannot
compile ..." if the sys-root libc is a higher version than the host's
Isn't that a user build environment problem?
2) for any gcc that succeeds libreadline.so is built without
lib(n)curses.so dependence which is mostly unimportant, but only mostly.
It came to my attention when building fontconfig package which fails with
"UP undeclared ..." or such.
Yes. Deciding which curses/termcap library to use is up to the application
using readline. Some distributions have built and distributed readline with
a dependency to their install path for ncurses; some have not.
There is a sample autoconf macro in the readline distribution
(examples/autoconf/BASH_CHECK_LIB_TERMCAP) that applications can use to
figure out the right curses library.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/