Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 CC: Hiroo Hayashi , 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/