delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/01/18/20:53:58

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A679E0D.EA1C4C27@yahoo.com>
Date: Thu, 18 Jan 2001 20:53:17 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin-apps AT cygwin DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
CC: cygwin-apps AT cygwin DOT com
Subject: Re: libreadline.dll.a missing functions.
References: <3A661B21 DOT AA1A4875 AT yahoo DOT com> <3A662B83 DOT C3906A81 AT ece DOT gatech DOT edu> <3A674EC8 DOT 489392B4 AT ece DOT gatech DOT edu>

"Charles S. Wilson" wrote:
> 
> 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.
> 
> rl_set_screen_size() is declared in rlprivate.h.  It is not supposed to
> be an external entry point; that's why it is not exported in the dll.
> It is defined in terminal.c but is not marked 'static' there, presumably
> because other, internal-to-readline functions call it -- but that
> non-static designation means that is is exposed in the static library
> and in unix shared librarys.  Just not dll's.  However, I can't find
> *any* other reference to that function, other than the two I just
> mentioned.  So, exteranl apps are not supposed to use
> rl_set_screen_size(), and readline itself never calls the function.  I
> think rl_set_screen_size() is dead code.
> 
> What package are you compiling that wants 'rl_set_screen_size()" ?
> 

See the first sentence. ;)

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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