[m-rev.] for review: update README.DotNet

Tyson Dowd trd at cs.mu.OZ.AU
Thu May 3 00:14:56 AEST 2001


Hi,

Another change to go with the fixes to the runtime and library.

===================================================================


Estimated hours taken: 1
Branches: main

README.DotNet:
	Update to reflect our move to Beta 2.
	Fix installation instructions -- now that gacutil works, we no
	longer need to use .cfg files.


Index: README.DotNet
===================================================================
RCS file: /home/mercury1/repository/mercury/README.DotNet,v
retrieving revision 1.2
diff -u -r1.2 README.DotNet
--- README.DotNet	2001/03/23 20:31:37	1.2
+++ README.DotNet	2001/05/02 14:12:34
@@ -6,6 +6,11 @@
 Common Language Runtime (CLR).  This port is very new, and the target
 platform is still in beta, so there are many unimplemented features.
 
+In addition the port is currently targetted at .NET Beta 2 SDK, which is not
+yet released as of the time of writing this documentation.  If you want to
+try out a version of Mercury which works with a released SDK (such as Beta 1)
+we recommend you try Mercury 0.10.x.
+
 The Mercury compiler will generate code in Microsoft's Intermediate
 Language (IL) that can be assembled into bytecode suitable for running
 in the .NET runtime system.  In addition, a small part of the Mercury library
@@ -13,10 +18,12 @@
 
 In order to try this system you will need 
 
-	- The Microsoft .NET Beta 1 SDK, see
+	- The Microsoft .NET Beta 2 SDK, see
 		<http://msdn.microsoft.com/net/>
 	  to download.  If you are an MSDN Universal subscriber you can
 	  also order CDs as part of your subscription.
+	  (at the time of writing Beta 2 is unreleased, so this information
+	  may vary).
 
 	- A windows system suitable for development with Microsoft .NET
 	  (Windows 2000 is the most likely).  Microsoft advises not to
@@ -53,8 +60,8 @@
 
 To run a Mercury program using the ilc grade, you need to build the
 library and runtime in the ilc grade, using the Mercury source distribution.
-After unpacking the Mercury source distribution,
-run the following commands in a Cygwin shell:
+After unpacking the Mercury source distribution, run the following commands in
+a Cygwin shell:
 
 	cd mercury
 	autoconf
@@ -66,6 +73,7 @@
 	cd library
 	mmake depend
 	MMAKE_DIR=../scripts mmake GRADE=ilc
+	gacutil -i mercury.dll
 	cd ..
 
 You can now build programs such as hello.m or eliza.m in the samples
@@ -75,18 +83,10 @@
 	mmake hello.depend
 	mmake hello.il
 	ilasm hello.il
+
+or for single file programs, simply:
 
-Currently, to run executables, you also need to create a corresponding
-.cfg file which describes where to find the library.  So create a file
-called hello.cfg which contains the following XML fragment:
-
-	<configuration>
-	<assemblies>
-	</assemblies>
-	<AppDomain 
-		PrivatePath="../library/"
-	/>
-	</configuration>
+	mmc --grade ilc hello.m
 
 Now you can finally run hello
 


-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list