[m-rev.] diff: another fix for csc

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Feb 2 11:18:18 AEDT 2011


On Wed, 2 Feb 2011, Julien Fischer wrote:

> Branches: main, 11.01
>
> Fix a problem that has prevented the standard libraries building
> in the csharp grade with the Microsoft C# compiler.
>
> compiler/compile_target_code.m:
> 	When referencing an assembly on the command line we must
> 	include the .dll extension in the name since csc requires that.
> 	(Mono doesn't appear to care whether it is present or not.)

The samples now build and run with csc from the Windows command
interpreter.  The only problem is that since the library assemblies are
not placed in the GAC they have to be copied to the same directory as the
.exe in order of the runtime to find them (there doesn't seem to be an
equivalent to MONO_PATH for the Microsoft stuff).

I don't intend to address this problem for the 11.01 release.

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



More information about the reviews mailing list