Does GhcDebugged work?

Ian Lynagh igloo at earth.li
Fri Sep 24 17:23:16 EDT 2010


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



More information about the Glasgow-haskell-users mailing list