From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21945 invoked by alias); 21 Jan 2005 19:42:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21902 invoked from network); 21 Jan 2005 19:42:07 -0000 Received: from unknown (HELO cgf.cx) (66.30.17.189) by sourceware.org with SMTP; 21 Jan 2005 19:42:07 -0000 Received: by cgf.cx (Postfix, from userid 201) id 4F8391B524; Fri, 21 Jan 2005 14:42:15 -0500 (EST) Date: Fri, 21 Jan 2005 21:54:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: cygwin bughunt (FAQ alert?) Message-ID: <20050121194215.GE20866@trixie.casa.cgf.cx> Reply-To: cygwin@cygwin.com References: <20050121121553.GQ3113@cygbert.vinschen.de> <20050121163843.GE20002@trixie.casa.cgf.cx> <20050121190233.GD20866@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2005-01/txt/msg01055.txt.bz2 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/