[m-rev.] reading .opt files transitively
Simon Taylor
stayl at cs.mu.OZ.AU
Thu Nov 15 16:43:49 AEDT 2001
On 08-Nov-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> So the following diff was supposed
> to modify the compiler so that it read in .opt files transitively.
>
> IIRC there was some problem which meant that this patch didn't work,
> but I don't remember exactly what the problem was.
> ----------
>
> Estimated hours taken: 12
>
> Read in the `.opt' files transitively, so that we get all the definitions
> of equivalence types. This is needed to support --high-level-data
> for the .NET / Java back-ends.
>
> XXX Are the dependencies still correct?
> Does this change break `mmake depend' with intermodule optimization?
This was one problem. For libraries, `mmake depend' reads the `.int'
files to get the dependencies (in modules__read_dependencies), which will
miss the implementation dependencies required for reading the `.opt'
files transitively. It may be possible to fix this problem by reading
the `.opt' files in modules__read_dependencies instead. This problem will
be fixed properly by `mmc --make'.
Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list