Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [66.206.205.2] X-Originating-Email: [vxj45 AT hotmail DOT com] From: "Vishal Jain" To: cygwin AT cygwin DOT com Subject: Re: DEBUG build of cygwin Date: Fri, 21 Mar 2003 19:04:10 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Mar 2003 03:04:11.0110 (UTC) FILETIME=[B630D060:01C2F01F] make CFLAGS_FOR_TARGET=-g CFLAGS=-g worked for me. Although files under newlib are still compiled with O2 flag. thanks, Vishal On Fri, Mar 21, 2003 at 10:20:35PM +0100, Corinna Vinschen wrote: >On Fri, Mar 21, 2003 at 01:03:50PM -0800, Vishal Jain wrote: >>Hi, Just typing make CFLAGS=-g does not help. It still adds -O2. >>Removing -O2 from the top level makefile also does not help. Vishal > >make CFLAGS_FOR_TARGET=-g Either that or just build in the cygwin directory and forego all of the overhead of building from the top level. Or maybe you could write a SNOBOL program to do this. Yeah, that's the ticket. cgf _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- 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/