[mercury-users] csharp grade error in mdb.browse.cs
Jeff Thompson
jeff at thefirst.org
Sun Nov 28 11:00:41 AEDT 2010
I was able to build top_level.exe. When I try to compile a .m file I
get the following errors. The file builtin.int is there in the
subdirectory Mercury/ints. Do I need to add something so that
mercury_compile can find it?
mercury_compile: cannot find `builtin.int' in directories .
mercury_compile: cannot find `io.int' in directories .
mercury_compile: cannot find `private_builtin.int' in directories .
Thanks,
- Jeff
On 11/26/2010 1:53 PM, Peter Wang wrote:
> It builds if you only keep the *.m files from the compiler, library and
> mdbcomp directories. The command you need is actually:
>
> mmc -s csharp -m top_level -j4 --no-mercury-stdlib-dir \
> --allow-stubs --link-object mercury_dotnet.cs \
> --csharp-compiler gmcs
>
> The --no-mercury-stdlib-dir makes the compiler fall back to the default
> C# compiler name of `csc' instead of `gmcs'.
>
> 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