[m-rev.] diff: make stdlib compile in csharp grade with csc
Peter Wang
novalazy at gmail.com
Tue Feb 1 10:50:15 AEDT 2011
On 2011-02-01, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> Index: library/Mmakefile
> ===================================================================
> RCS file: /home/mercury/mercury1/repository/mercury/library/Mmakefile,v
> retrieving revision 1.177
> diff -u -r1.177 Mmakefile
> --- library/Mmakefile 27 Jan 2011 02:32:39 -0000 1.177
> +++ library/Mmakefile 31 Jan 2011 15:11:00 -0000
> @@ -373,8 +373,13 @@
> # For C# we include the runtime module directly into mer_std.dll.
> ifneq ("$(filter csharp%,$(GRADE))","")
> LINK_LIB_OPTS :=
> +# Don't use Unix style paths with the Microsoft C# compiler.
> +ifeq ($(CSC),csc)
> +MLOBJS += ..\runtime\mercury_dotnet.cs
> +else
> MLOBJS += ../runtime/mercury_dotnet.cs
> endif
> +endif
What if $CSC is a full path?
Peter
--------------------------------------------------------------------------
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