/* Figure if I can use readline. */
/* #undef USE_READLINE */
#ifdef HAVE_LIBREADLINE
#ifdef HAVE_READLINE_READLINE_H
#define USE_READLINE
#endif
#endif
readline will be compiled in only when HAVE_LIBREADLINE is defined, and this macro(and, a whole lot of other macros) is not defined now. While, originally, in iverilog, those macros will be defined by configure(even the file config.h is generated by configure according to some checks, which is now hard-coded).
vvp is not even linked with readline dynamic library, according to the output of ldd:
Meanwhile, it seems that vhdlpp don't need to termcap to compile. Guess that, as termcap was required by readline, just -lreadline would be fine when readline functionality was required. (link termcap explicitly would cause trouble in Arch linux, I just couldn't find a package with libtermcap.so)
currently, readline function is not included by default.
in vvp/config.h
readline will be compiled in only when
HAVE_LIBREADLINE
is defined, and this macro(and, a whole lot of other macros) is not defined now. While, originally, iniverilog
, those macros will be defined byconfigure
(even the fileconfig.h
is generated byconfigure
according to some checks, which is now hard-coded).vvp
is not even linked withreadline
dynamic library, according to the output ofldd
:Meanwhile, it seems that
vhdlpp
don't need totermcap
to compile. Guess that, astermcap
was required by readline, just-lreadline
would be fine when readline functionality was required. (linktermcap
explicitly would cause trouble inArch
linux, I just couldn't find a package withlibtermcap.so
)