I downloaded and installed the Cygwin source code to bc 1.06, but it would not build under Cygwin 1.3.12-2 when configured with
--enable-readline unless I made a small change to bc/scan.l (which may or may not be the right way to fix the compiler error about symbol "readline" having conflicting definitions, one in scan.l and one in /usr/include/readline/readline.h). The patch is below. Hope this helps. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. --- scan.l.orig 2002-10-03 10:45:18.000000000 -0400 +++ scan.l 2002-10-03 10:43:23.000000000 -0400 @@ -143,7 +143,7 @@ /* Definitions for readline access. */ extern FILE *rl_instream; -_PROTOTYPE(char *readline, (char *)); +/* _PROTOTYPE(char *readline, (char *)); */ /* rl_input puts upto MAX characters into BUF with the number put in BUF placed in *RESULT. If the yy input file is the same as -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/