> I wish, I could have provided more debugging info, but 
> strace's and gdb's
> output isn't very helpful at all. How do I enable those 
> IF_DEBUG(...) macros
> (or something that helps tracking down the problem)? I tried, 
> but it seems I
> overlooked something...

I add the following lines to my build.mk to build a debugging RTS:

        GhcRtsHcOpts = -optc-DDEBUG
        GhcRtsCcOpts = -optc-g
        SRC_HC_OPTS += -lbfd -liberty
        STRIP=echo

Cheers,
        Simon

Reply via email to