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/