[m-rev.] for post-commit review: update README.MinGW for erlang, java and csharp grades

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Feb 15 18:59:52 AEDT 2011


For post-commit review by anyone.

Branches: main, 11.01

README.MinGW:
 	Document how to set up MSYS to build the erlang, java, and csharp grades.
 	(For the latter we only cover .NET, not Mono.)

Julien.

Index: README.MinGW
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/README.MinGW,v
retrieving revision 1.13
diff -u -r1.13 README.MinGW
--- README.MinGW	5 Jan 2011 04:51:30 -0000	1.13
+++ README.MinGW	15 Feb 2011 07:57:33 -0000
@@ -29,6 +29,37 @@
      Details of alternative MinGW and MSYS installation methods may be found
      on the MinGW website.

+    To build the Erlang grade with MinGW and MSYS you will require the Windows
+    version of the Erlang/OTP distribution to be installed on your system.
+    The Erlang compiler (erlc) and runtime (erl) needs to be in the MSYS
+    PATH, for example do the following in the MSYS shell (with the version
+    number modified if necessary):
+
+        export PATH=/c/Program\ Files/erl5.8.2/bin/:$PATH
+
+    See README.Erlang for further details.
+
+    To build the java grade with MinGW and MSYS you will require the Windows
+    version of the JDK to be installed on your system.
+    The Java compiler (javac), Java archive tool (jar), and Java runtime (java)
+    needs to be in the MSYS PATH, for example do the following in the MSYS
+    shell (with the version number modified if necessary):
+
+        export PATH=/c/Program\ Files/Java/jdk1.6.0_23/bin/:$PATH 
+
+    See README.Java for further details.
+
+    To build the C# grade with MinGW, MSYS and .NET, you will need Visual C#
+    compiler installed on your system.
+    The C# compiler (csc.exe) needs to be in the MSYS PATH, for example do the
+    following in the MSYS shell (with the version number modified if
+    necessary):
+
+        export PATH=/c/WINDOWS/Microsoft.NET/Framework/v4.0.30319/:$PATH
+ 
+    See README.CSharp for further details.
+ 
+
  2.  Unpack the source distribution with a command like:

          tar -xvzf mercury-compiler-<VERSION>.tar.gz

--------------------------------------------------------------------------
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