[m-rev.] diff: fix browser directory for non-C backends
Peter Ross
pro at missioncriticalit.com
Fri Feb 7 06:03:09 AEDT 2003
On Thu, Feb 06, 2003 at 05:34:14PM +0100, Peter Ross wrote:
> On Fri, Feb 07, 2003 at 03:03:04AM +1100, Fergus Henderson wrote:
> > On 06-Feb-2003, Peter Ross <pro at missioncriticalit.com> wrote:
> > > Just trying to compile the compiler directory now. Fingers crossed.
> >
> > grep for ':- pragma foreign_proc' in compiler/*.m first.
> > There are a number of foreign_procs there that will need
> > Mercury clauses too -- and some of these will need to
> > be replaced with actual code, not just calls to "sorry".
> >
> Well I can get it to compile, but it runs out of stack space when
> executing the .cctors.
>
> Anyone know how to increase the stack limit for the CLR?
Apparently the same way you set the stack for any PE image under
windows.
petdr at DOTNET ~/merc/workspaces/il/compiler
$ editbin /stack:10000000 top_level.mercury_compile.EXE
Microsoft (R) COFF/PE Editor Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
And here is the error message that I get, when I try and run it.
I assume that the error is something to do with intermodule optimization
and the private/public status of map_3_p_m2 but will look into that on
Monday, as I am off to Ireland for a long weekend.
petdr at DOTNET ~/merc/workspaces/il/compiler
$ ./top_level.mercury_compile
Uncaught system exception:
System.MissingMethodException: Method not found: Boolean
mercury.list.mercury_code.map_3_p_m2(System.Object[], System.Object[], System.Object[], mercury.list.list_1, mercury.list.list_1 ByRef).
at make.options_file.mercury_code.lookup_mmc_maybe_module_options_5(tree234_2
Vars_6, options_variable_class_0 MaybeModuleName_7, maybe_1& Result_8)
at top_level.mercury_compile.mercury_code.main_2()
--------------------------------------------------------------------------
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