[m-dev.] diff: add none.gc to LIBGRADES for MSVC

Peter Ross peter.ross at miscrit.be
Tue Jul 18 17:55:40 AEST 2000


On Tue, Jul 18, 2000 at 07:32:10AM +1000, Fergus Henderson wrote:
> On 17-Jul-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> > configure.in:
> >     Add none.gc to the list of grades to install when compiling with an
> >     MS compiler.
> > 
> > Index: configure.in
> > ===================================================================
> > RCS file: /home/mercury1/repository/mercury/configure.in,v
> > retrieving revision 1.212
> > diff -u -r1.212 configure.in
> > --- configure.in	2000/06/29 09:55:33	1.212
> > +++ configure.in	2000/07/17 13:47:57
> > @@ -1768,10 +1768,10 @@
> >  # add `hlc' (--high-level-code, i.e. MLDS back-end) grade
> >  LIBGRADES="$LIBGRADES hlc.gc"
> >  
> > -# If we are using the MS compiler currently the only working grade
> > -# is hlc.gc, which is what we install by default.
> > +# Not all grades compile with the MS compiler, only install those grades
> > +# which do.
> >  if test $ac_microsoft = yes; then
> > -	LIBGRADES=
> > +	LIBGRADES=none.gc
> >  fi
> 
> I don't understand why you need to hard-code this here.
> Why don't grades `none', `none.gc.debug.tr', `none.gc.prof',
> `none.gc.memprof', etc. work?
> 
Profiling isn't supported at all, because the necessary parts of the
runtime are not yet implemented.
The .debug grade has problems with variables being declared in
problematic orders.

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