[m-dev.] for review: use new compiler when building library grades

Peter Ross petdr at cs.mu.OZ.AU
Wed May 24 18:19:38 AEST 2000


On Wed, May 24, 2000 at 05:40:39PM +1000, Fergus Henderson wrote:
> Peter Ross volunteered to test & review this.
> 
> ----------
> 
> Estimated hours taken: 0.75
> 
> Fix a problem bootstrapping introduced by the MLDS back-end changes.
> Also reduce the vulnerability of the installation process to these
> kind of bootstrapping problems, by using the newly installed compiler
> to build the library grades.
> 
> configure.in:
> 	When testing whether the installed compiler is sufficiently up-to-date,
> 	use `--high-level-code', since the installation process now requires
> 	the compiler to generate .dep files that support --high-level-code.
> 
> Mmakefile:
> 	In the rule for `install_grades', override PATH and MC,
> 	so that we build the different grades of the libraries
> 	using the newly installed compiler rather than the bootstrap
> 	compiler.  This means that if the `.c' files that we ship
> 	are up-to-date, and don't need to be rebuilt for a different
> 	grade or a different word size (as may be desirable on some
> 	architectures), then the bootstrap compiler will not be used
> 	at all.
> 
> configure.in:
> Mmake.common.in:
> 	Put the bootstrap mmc flags in a separate variable BOOTSTRAP_MC_FLAGS,
> 	for use by Mmakefile.
> 
This change looks fine and worked correctly when installing the May 23
ROTD.

Pete
--------------------------------------------------------------------------
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