debug output

Ben Gamari ben at smart-cactus.org
Mon Apr 24 15:11:05 UTC 2017


On April 24, 2017 9:29:26 AM EDT, Richard Eisenberg <rae at cs.brynmawr.edu> wrote:
>Could the problem be that ghc doesn’t support a -ddebug-output flag? It
>has -dno-debug-output, but I don’t know of a way to reverse that
>decision.
>
>> On Apr 24, 2017, at 9:13 AM, Ben Gamari <ben at smart-cactus.org> wrote:
>> 
>> Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org> writes:
>> 
>>> mk/flavours/validate.mk has
>>> 
>>> GhcStage2HcOpts    = -O -dcore-lint
>>> 
>>> GhcLibHcOpts       = -O -dcore-lint
>>> How can I override these in my validate.mk?  E.g.
>>> 
>>> GhcLibHcOpts      += -ddebug-output
>>> does not work.
>> 
>> Are you sure this didn't work You added this line to mk/validate.mk,
>> yes? Does mk/are-validating.mk exist? This seems to work for me.
>> 
>> Cheers,
>> 
>> - Ben
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Good catch! 


More information about the ghc-devs mailing list