delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/05/15:18:13

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: <3C0E80D7.8080907@cportcorp.com>
Date: Wed, 05 Dec 2001 15:17:27 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: chris DOT polley AT ieee DOT org
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Debug version of cygwin dll
References: <718198F862F1D411B10F0002A50A4DB101A4F0CC AT e90wwce3 DOT dx DOT deere DOT com>

You need to bunzip2 and untar the src, then cd to 
/usr/src/cygwin-1.3.5-3 (or wherever you extracted it to) and do the 
following:

mkdir build
cd build
../configure
make
make install

Also, I don't know if you need to manually export CFLAGS=-g, just don't 
strip the dll after you build it. IIRC when you build anything it has 
the debug info included, but the binaries are shipped stripped :-)

Another thing- if you plan on debugging another cygwin1.dll with this 
debug version of the cygwin1.dll, search for "running independent 
site:cygwin.com" on google, there is an excellent discussion (don't try 
this at home kids) about running two independent cygwin1.dll's.

HTH,
Peter

Polley Christopher W wrote:

> Hello,
> 
> I'm trying to build cygwin(-1.3.5.3) with the debug symbols included.  I
> exported CFLAGS=-g, then did ./configure, make, and make install; but only
> the .a libraries were built.  Is there more info available about the
> makefile targets in this package?  The README doesn't mention it and it's
> not obvious (to me) from inspection of the Makefile.  How does one build the
> dlls? (or are debug versions available in a tarball?)
> 
> Thanks,
> Chris
> 
> 
> --
> 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/
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


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