[m-rev.] for review: fix broken source distribution

Ian MacLarty maclarty at csse.unimelb.edu.au
Sun Oct 1 21:03:29 AEST 2006


On Sun, Oct 01, 2006 at 01:54:53PM +1000, Zoltan Somogyi wrote:
> On 30-Sep-2006, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> > >Another solution to the problem of mtc_union getting compiled with
> > >debugging might be to use the --force-disable-tracing option in the
> > >slice and mdbcomp directories.  Do you think that'll work (the library
> > >will still be compiled with debugging)?
> 
> The library still containing non-tail-recursive code is why I went with
> the approach I chose.
> 
> I guess we could find out which library modules we *need* to be compiled
> without debugging, and copy them to the slice directory to be compiled with
> --force-disable-tracing.
> 

What about using "mmc -f ../library/*.m ../mdbcomp/*.m *.m" to generate a
Mercury.modules file in the slice directory which will cause mmc to read
the .m files in library/ and mdbcomp/ (instead of copying the files to
the slice directory)?

> > Another option here would to have configure set the value of
> > PLAIN_SUBDIR_MMAKE based on whether or not the source distribution is
> > being compiled.
> 

It would have to do more set the value of PLAIN_SUBDIR_MMAKE, since
there are some rules in slice/Mmakefile that would also need to change.
(my bootcheck failed, because I didn't revert the changes to
slice/Mmakefile).

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



More information about the reviews mailing list