[mercury-users] csharp top_level.exe [was: csharp grade error in mdb.browse.cs]

Peter Wang novalazy at gmail.com
Mon Dec 6 11:16:18 AEDT 2010


On 2010-12-05, Jeff Thompson <jeff at thefirst.org> wrote:
> 
> ROTD 2010-12-03 fixes the bug for not finding buildin.m. Thanks!
> Now, when I set up mmc to use top_level.exe and do "mmc --make
> --csharp hello_world" I get the error:
> Error: system command received signal 255.
> ** Error making `Mercury/css/hello_world.cs'.

Try passing -v to see what the command was.

> 
> Any ideas? Are you able to use top_level.exe to make hello_world.exe?

Yes.

% cat run_top_level 
#!/bin/sh
exec $HOME/local/stow/mono-2.8/bin/mono $HOME/Work/gws_csharp_dup_type/tcompiler/top_level.exe "$@"

% MERCURY_COMPILER=./run_top_level $HOME/Work/INSTALL.gws_csharp_dup_type/bin/mmc --csharp -m hello                         
Making Mercury/int3s/hello.int3
Making Mercury/ints/hello.int
Making Mercury/css/hello.cs
Making hello.exe

% ./hello
Hello, world

Peter
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list