[m-rev.] for review: bootstrap with MSVC as C compiler.

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Nov 1 03:32:50 AEDT 2002


On 31-Oct-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> fjh wrote:
> > On 24-Oct-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > > +++ README.MS-VisualC 24 Oct 2002 14:50:03 -0000
> > > @@ -18,6 +18,8 @@
> > >  configure defaults to using the hlc.gc grade as this is the only grade
> > >  currently supported.
> > >
> > > +Also ensure that the environment variable TMPDIR points to a valid
> directory.
> >
> > Which path name format should be used -- Unix or Windows?
> > The README needs to say which one it is.
>
> Hmmm good question, I ended up just setting it to ".".  I think it has
> to be in Windows format with each of the "\" escaped, or unix format but
> where the root of the path is c:\.  I will just recommend setting TMPDIR
> to be ".".

The need to escape slashes is probably because they are being
interpreted by bash when you try to set the variable.
Try putting the string in single quotes,
e.g.
	export TMPDIR='C:\TMP'
or
	export TMPDIR='C:\FOO\BAR'

If that works, then I think it should be the recommended approach.

> > (BTW, which program needs TMPDIR set?)
>
> The compiler, when it calls io__make_temp.

I think that is a flaw in io__make_temp: it ought to be able to handle
the case when TMPDIR is not set and /tmp does not exist.

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