delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/13/00:34:38

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C411C95.80802@ece.gatech.edu>
Date: Sun, 13 Jan 2002 00:35:17 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
CC: Hiroo Hayashi <hiroo DOT hayashi AT computer DOT org>, cygwin AT cygwin DOT com
Subject: Re: progamming with Cygwin GNU Readline Library
References: <20020106 DOT 143454 DOT 47902771 DOT hiroo DOT hayashi AT computer DOT org> <3C38BE6C DOT 1080300 AT ece DOT gatech DOT edu> <20020108 DOT 010257 DOT 68474633 DOT hiroo DOT hayashi AT computer DOT org> <3C3B2370 DOT 3010701 AT ece DOT gatech DOT edu>

Charles Wilson wrote:

> Hiroo Hayashi wrote:
> 
>> Charles> 'gcc -static' + -DREADLINE_STATIC
>>
>> Your answer solved my problems.  Thank you very much.
>>
>> Charles> Or wait for the next release of cygwin readline, which should
>> Charles> make all of these problems go away.
>>
>> Do you have a rough estimatation when will it be released?  If it may
>> take a few months or more, I'll consider to make a new release of my
>> perl module.


Try the readline-4.2a-1 package (along with libreadline5) which were 
just announced.  With that package, your bug.c program returns the 
correct results...

Also, you should no longer need to specify -DREADLINE_STATIC when 
compiling.  Just compile without that flag, and then link (dynamically, 
or statically using -static)

Note that this still won't fix the problem with static initializers and 
dynamic linking.  You must either link statically or initialize your 
variable inside main().

--Chuck



--
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/

- Raw text -


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