| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: HOWTO build debug version of the cygwin dll with no optimisation? |
| Date: | Thu, 15 Jul 2004 15:32:14 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20040715005932.GB986@trixie.casa.cgf.cx> |
| Message-ID: | <NUTMEG5pneeFUtLch9w000008c9@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 15 Jul 2004 14:32:14.0703 (UTC) FILETIME=[85D2EFF0:01C46A78] |
> -----Original Message-----
> From: cygwin-owner On Behalf Of Christopher Faylor
> Sent: 15 July 2004 02:00
> >> "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O0"
> "LDFLAGS="
> > ^^^^^^^^^^^^^^^^^
> > That's it :-)
> >
> >Try `make CFLAGS=-g CFLAGS_FOR_TARGET=-g'. That will
> compile everything
> >w/o optimization
>
> Or, once you've gotten supporting libraries built, just build in the
> winsup/cygwin directory with CFLAGS=-g. It's a lot faster to
> just build
> cygwin from the cygwin subdirectory.
Good point. I tend to do "make all-bfd all-target-winsup" at the
top-level, but that of course still drags in all the cygserver and utils
stuff that I don't need.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |