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

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jul 19 06:43:46 AEST 2000


On 18-Jul-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> 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.

For time profiling, shouldn't configure.in determine that automatically?
And memory profiling does not rely on any non-portable features,
as I understand it, so memory profiling should work on any system.

> The .debug grade has problems with variables being declared in
> problematic orders.

Hmm, perhaps you could elaborate on that.

And what about the `none' grade?  Shouldn't that work fine on MSVC?

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