[m-rev.] diff: fix assemby references in compiler directory

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Feb 16 04:18:46 AEDT 2012

Branches: main, 11.07

Fix another problem that is preventing the Mercury compiler from building
in the csharp grade with the MS C# compiler.

 	When referencing assemblies on the command line the Microsoft
 	C# compiler requires the .dll extension.  (Mono doesn't care
 	whether it is present or not.)


Index: compiler/Mmakefile
RCS file: /home/mercury/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.114
diff -u -r1.114 Mmakefile
--- compiler/Mmakefile	9 Jan 2012 00:35:41 -0000	1.114
+++ compiler/Mmakefile	15 Feb 2012 17:16:23 -0000
@@ -252,7 +252,7 @@
  # Tell the C# compiler where the stdlib and mdbcomp assemblies are.
  ifneq ("$(filter csharp%,$(GRADE))","")
-CSCFLAGS=-lib:../library -r:mer_std -lib:../mdbcomp -r:mer_mdbcomp
+CSCFLAGS=-lib:../library -r:mer_std.dll -lib:../mdbcomp -r:mer_mdbcomp.dll


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