[m-dev.] Low-level debugging

Peter Wang wangp at students.csse.unimelb.edu.au
Wed Sep 27 16:45:03 AEST 2006


On 2006-09-26, Peter Ross <pro at missioncriticalit.com> wrote:
> Hi,
> 
> One of the problems I have here is building debug versions of the
> various libraries in the compiler. 

Isn't it just a matter of adding these lines to Mmake.params?

    EXTRA_MCFLAGS += --c-debug
    EXTRA_MLFLAGS += --c-debug

> There are two things I would like to have easily.
> 
> One is a version of the library compiled with -g.  For me this would
> become the hlcd specifier.
> 
> The other is the boehm_gc with debugging turned on, this would become
> gcd.

It could be okay to just always compile boehm_gc with debugging turned
on, as is done with the runtime directory.

Peter
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list