readline 5.1 question

Bob Rossi bob@brasko.net
Fri Jan 20 15:48:00 GMT 2006


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/



More information about the Cygwin mailing list