[mercury-users] Problem with mmake

Fergus Henderson fjh at cs.mu.OZ.AU
Thu May 31 13:32:17 AEST 2001


On 31-May-2001, Richard A. O'Keefe <ok at atlas.otago.ac.nz> wrote:
> Static linking worked, but
> f% ./xml
> 
> Mercury runtime: memory zone detstack#0 overflowed
> PC at signal: 67424 (10760)
> This may have been caused by a stack overflow, due to unbounded recursion.
> 
> but it wasn't an unbounded recursion.  I know that the sizes of various
> areas can be set using the MERCURY_OPTIONS environment variable; it would
> be nice if it could be done on the command line.

That would be fairly easy to implement.  But the reason that it is done
as an environment variable rather than as a command-line option is that
we'd rather not interfere with the program's command-line arguments.

What's wrong with just using `env MERCURY_OPTIONS=whatever ./xml'?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list