HOWTO build debug version of the cygwin dll with no optimisation?

Dave Korn dk@artimi.com
Thu Jul 15 14:38:00 GMT 2004


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



More information about the Cygwin mailing list