| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <3E5E9431.2050807@yahoo.com> |
| Date: | Thu, 27 Feb 2003 14:41:53 -0800 |
| From: | Philip Nemec <panemec AT yahoo DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210 |
| X-Accept-Language: | en-us, en |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | change bc to use readline |
I recently installed another fresh copy of cygwin and was reminded of a
complaint I have with bc...
It doesn't ship with readline support built in - and the source doesn't
ship in a way that builds.
To get bc to compile (grabbing source using setup - the simple case):
* scan.l -- comment out the proto for readline: _PROTOTYPE(char
*readline, (char *));
* configure --with-readline
* make
---------
At the very least I'd like to see this patch applied to the source (so
at least readline support is easy to compile in).
Thanks!
> diff -pu scan.l.orig scan.l
--- scan.l.orig 2003-02-27 14:40:03.000000000 -0800
+++ scan.l 2003-02-27 14:40:12.000000000 -0800
@@ -143,7 +143,7 @@ static int rl_len = 0;
/* 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |