[m-dev.] How does one set the default compilation grade?

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Jul 2 11:24:37 AEST 2004


On 02-Jul-2004, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> When doing compiler work, I've taken to building and installing the
> compiler just in grade asm_fast.gc.tr.debug by putting
> 
> GRADE = asm_fast.gc.tr.debug
> LIBGRADES = asm_fast.gc.tr.debug
> 
> in Mmake.params.  However, the resulting compilers seem to want to use a
> different grade when compiling programs, which of course means said
> programs won't link against the installed library.
> 
> So how do I configure things so that the compiler uses
> asm_fast.gc.tr.debug as the default grade?

If you want to set the default grade at configure time, you can set
DEFAULT_GRADE=whatever in the environment before running configure.

Or alternatively, you can set MERCURY_DEFAULT_GRADE=whatever in
the environment before running mmc / mmake.

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