[m-rev.] for review: bootstrap with MSVC as C compiler.
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Oct 25 02:35:42 AEST 2002
On 24-Oct-2002, Peter Ross <pro at missioncriticalit.com> wrote:
>
> diff -u trace/mercury_trace_source.c trace/mercury_trace_source.c
> --- trace/mercury_trace_source.c
> +++ trace/mercury_trace_source.c
> @@ -344,10 +344,17 @@
> */
> #ifdef MR_HAVE_SLEEP
> sleep(1);
> -#else
> +#elif MR_HAVE_CAPITAL_S_SLEEP
> Sleep(1000);
> +#else
> + /*
> + ** busy-wait for a few billion cycles, which should hopefully
> + ** take a second or more.
> + */
> + volatile int i;
> + for (i = 0; i < 100000000; i++)
Now that I think about it a bit more: better make that `long' rather than
`int', just in case we ever try porting to a system with 16-bit ints.
> +++ 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.
(BTW, which program needs TMPDIR set?)
> Index: README.MS-VisualC
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/README.MS-VisualC,v
> retrieving revision 1.2
> diff -u -r1.2 README.MS-VisualC
> --- README.MS-VisualC 30 May 2001 13:51:26 -0000 1.2
> +++ README.MS-VisualC 24 Oct 2002 16:11:38 -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.
Likewise.
--
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