[m-dev.] FYI: MC patch to the Melbourne compiler

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Aug 24 16:22:08 AEST 2000


On 22-Aug-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> +++ scripts/ml.in	2000/08/18 12:23:52
> @@ -34,6 +34,10 @@
>  SHARED_LIBS=${MERCURY_SHARED_LIBS="@SHARED_LIBS@"}
>  TMPDIR=${TMPDIR=/tmp}
>  
> +# XXX needed by the MSVC linker so that the compiler doesn't run out of
> +# stack space when compiling the compiler.
> +export LINK=/stack:10000000
> +

That's a bash-ism; for portable shell scripts, you should do it in
two lines rather than one:

	LINK=/stack:10000000
	export LINK

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