delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/21/14:42:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 21 Jan 2005 14:42:15 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin bughunt (FAQ alert?)
Message-ID: <20050121194215.GE20866@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <D9B1ABFA3404D611AC7B00508B63B512024F106E AT nnhml1 DOT cox DOT co DOT uk> <20050121121553 DOT GQ3113 AT cygbert DOT vinschen DOT de> <20050121163843 DOT GE20002 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 61 DOT 0501211146420 DOT 18105 AT slinky DOT cs DOT nyu DOT edu> <20050121190233 DOT GD20866 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 61 DOT 0501211422570 DOT 19334 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.61.0501211422570.19334@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Fri, Jan 21, 2005 at 02:26:39PM -0500, Igor Pechtchanski wrote:
>On Fri, 21 Jan 2005, Christopher Faylor wrote:
>
>> On Fri, Jan 21, 2005 at 11:53:25AM -0500, Igor Pechtchanski wrote:
>> >Also agreed.  But the source provided in the cygwin source package is
>> >worthless for debugging, since one can't build Cygwin from that source.
>> >If debugger symbols were available, that source would actually be
>> >useful.  :-)
>>
>> Huh?
>>
>>   tar xjf cygwin-1.5.12-1-src.tar.bz2
>>   cd cygwin-1.5.12-1
>>   mkdir build
>>   cd build
>>   (../configure; make) >& make.out
>>
>> This builds a cygwin DLL.  Just tried it.
>
>Whoops!  Apologies for providing outdated information...  At some point
>this required a CVS version of w32api, IIRC.
>
>For the archives, adding "--enable-debugging" to "../configure" above
>should build a debug version of the DLL.

I wouldn't suggest doing this unless you've been instructed to do so.
This adds extra debugging hooks into cygwin which provide more strace
output or pop up the debugger on certain types of situations.

The goal here is to build a version of the DLL which is the same as the
release.

The DLL that gets produced by the above has debugging symbols so this
is what is required.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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