[m-dev.] c2init and ml flags for linking partially debugged apps

Peter Ross pro at missioncriticalit.com
Tue Apr 23 01:20:42 AEST 2002


fjh wrote:
> On 22-Apr-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > Adding the following to Mmake.params used to sufficient to build the
> > Mercury compiler and debug it without building the whole thing in a
> > debug grade.  This doesn't work anymore.
> >
> > EXTRA_MLFLAGS=--trace
> > EXTRA_C2INITFLAGS=-t
> >
> > What do I need now?
>
> Just the first line:
>
> EXTRA_MLFLAGS=--trace
>
> But the old way ought to still work too.  What exactly goes wrong?
>
mdb ./mercury_compile doesn't ever give me a trace prompt.

However I found the problem.

I was still using

MCFLAGS-mercury_compile=--trace shallow

instead of

MCFLAGS-top_level.mercury_compile=--trace shallow

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list