This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile and --with-readline?


Peter Amstutz writes:
 > It seems to me that the other reason for taking out libreadline is the
 > simple fact that (last time I checked) it doesn't compile to a _shared_
 > library!  This immediatly bulks up guile-using application forced to link
 > with libreadline by about 200k, and if the app isn't using guile for
 > for interactive console app where libreadline could be used, then it's
 > just a dead weight...  AND it also forces a link against ncurses, and if

GNU readline does not require ncurses, it can be linked with the 
smaller GNU termcap library as well. If ncurses is used (probably
vendor-specific curses versions do as well, a case for the infamous
system library scapehole in the GNU GPL), actually just the low
level terminfo routines get involved, which can emulate termcap.
It's the same situation as with the GNU emacs on the console.

 > the app isn't going to use ncurses then that's even more wasted memory.

And if it is using ncurses, it can lead od conflicts and inconsistencies,
especially in threaded applications, but also normally.

Klaus Schilling

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]