This is the mail archive of the
cygwin-apps@sources.redhat.com
mailing list for the Cygwin project.
Re: libreadline.dll.a missing functions.
- To: Charles Wilson <cwilson at ece dot gatech dot edu>
- Subject: Re: libreadline.dll.a missing functions.
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 17 Jan 2001 18:40:56 -0500
- CC: cygwin-apps at cygwin dot com
- References: <3A661B21.AA1A4875@yahoo.com> <3A662B83.C3906A81@ece.gatech.edu>
- Reply-To: cygwin-apps at cygwin dot com
Charles Wilson wrote:
>
> Earnie Boyd wrote:
> >
> > I was testing configurations of bash-2.04 and decided to try the
> > cygreadline.dll. After ensuring that the make wasn't going to be using
> > bashes included lib/readline and changing the -lreadline to
> > -lreadline.dll I receive notice that some of the functions aren't
> > defined. One such is _rl_set_screen_size. I find it in the static
> > version but not the /bin/cygreadline.dll nor it's accompanying import
> > library.
>
> I'll check into this, but note that you shouldn't have to specify
> "-lreadline.dll". The current ld will automatically search for
> "libfoo.dll.a" *before* "libfoo.a" when you specify "-lfoo". To
> *prevent* this behavior, you must tell it "-Bstatic" or tell gcc
> "-static" when linking.
>
I figured that out by trail, error, and read /usr/doc/Cygwin/readline...
Cheers,
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com