
I wasted an afternoon compiling GHC with GhcDebugged = YES in my mk/build.mk, only to have ghc-stage2 tell me it wasn't compiled with -debug. Looking at mk/config.mk.in, it seems that GhcDebugged is unconditionally set to NO. What am I doing wrong? Edward

On Fri, Sep 24, 2010 at 05:12:23PM -0400, Edward Z. Yang wrote:
I wasted an afternoon compiling GHC with GhcDebugged = YES in my mk/build.mk, only to have ghc-stage2 tell me it wasn't compiled with -debug. Looking at mk/config.mk.in, it seems that GhcDebugged is unconditionally set to NO. What am I doing wrong?
mk/build.mk should override the mk/config.mk setting. Note that if you're running validate you need to set settings in mk/validate.mk instead. What does make show VALUE=GhcDebugged say. Thanks Ian
participants (2)
-
Edward Z. Yang
-
Ian Lynagh