[m-rev.] diff: pass ALL_GRADEFLAGS when making `.opt' files

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jun 27 22:30:25 AEST 2002


On 26-Jun-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> scripts/Mmake.rules:
> compiler/modules.m:
> 	In the presence of foreign code the `.opt' and `.trans_opt' files
> 	aren't grade independent, so pass $(ALL_GRADEFLAGS) to mmc
> 	when creating them.

This change is not enough to completely fix the problem, since
currently we only have one directory for .opt files, not one per grade.

If libgrades is say "asm_fast.gc ilc",
won't this change mean that when you do 'make install',
the ilc versions of the .opt files will get installed over the top of
the asm_fast.gc versions, thus breaking the asm_fast.gc grade?

If so, then I think this change is not a good idea (at least not
on its own).

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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