delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/20/10:37:29

X-Spam-Check-By: sourceware.org
Date: Fri, 20 Jan 2006 10:37:42 -0500
From: Bob Rossi <bob AT brasko DOT net>
To: cygwin AT cygwin DOT com
Subject: readline 5.1 question
Message-ID: <20060120153742.GA12476@brasko.net>
Mail-Followup-To: cygwin AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.5.9i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi all,

My application recently started depending on readline 5.1. In Cygwin, I
installed in setup.exe 
  All->Devel->readline, and I have version 5.1-1 as the current.

However, if I compile and run this program,

#include <stdio.h>
#include <readline/readline.h>

main()
{
   printf("%s\n", rl_library_version ? rl_library_version : "0.0");
   exit(0);
}

With this compile line,
  gcc -g rl.c -o rl -lreadline

I get this output,
  5.0

I think this is a bug, but maybe I've misconfigured, any suggestions?

Thanks,
Bob Rossi

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019