delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/06/18:52:37

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: <5.1.0.14.1.20020106185210.00a79aa0@pop.erols.com>
X-Sender: prapp AT pop DOT erols DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sun, 06 Jan 2002 19:01:34 -0500
To: cygwin AT sources DOT redhat DOT com
From: prapp <prapp AT erols DOT com>
Subject: Re: system details on my little ncurses struggles
In-Reply-To: <3C38D9EC.2030307@ece.gatech.edu>
References: <5 DOT 1 DOT 0 DOT 14 DOT 1 DOT 20020106175325 DOT 00a7dec0 AT pop DOT erols DOT com>
Mime-Version: 1.0

Ok, I'm leaving the subject line as is, but changing the headers so this goes
to the list instead of you personally (the from was you and there was no 
Reply-To).
Hopefully this is the correct thing to do.

<snip>
 >searched the archives.  The current version of ncurses, 5.2-7, requires
 >that you -DBROKEN_LINKER for both -static and dynamic builds.  Try
 >compiling with -DBROKEN_LINKER, but link dynamically (without -static)

<snip>

 >A-ha!  This is the BROKEN_LINKER problem.

<snip>

 >Try to link dynamically with -DBROKEN_LINKER first.  Then we can
 >investigate wacky COLS gdb problems.


Yes!

If I define BROKEN_LINKER, I can compile & then successfully link either way
(with or without -static).

I find it still crashes under gdb if linked without -static
(segfault at the first reference to LINES),
but if both compiled with BROKEN_LINKER and linked with -static,
then it runs under gdb without segfaulting.

Thanks much!


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