I've updated the patch, as I noticed it didn't completely remove the references to binary packages in README.Cygwin.<br><br>Jon<br><br>Estimated hours taken: 0.75<br>Branches: main<br><br>Update README files.<br><br>README.Cygwin
:<br> Remove all references to the old Cygwin binary package, which has been superseded by MinGW packages.
<br><br>README.DotNet:<br> Mention that the IL backend has been tested on .NET 1.1, as well as 1.0.<br><br>README.MS-VisualC<br>
Mention that the Visual C backend may need the Platform SDK.<br><br><br>Index: README.Cygwin<br>===================================================================<br>RCS file: /home/mercury1/repository/mercury/README.Cygwin,v
<br>retrieving revision 1.1<br>diff -u -u -r1.1 README.Cygwin<br>--- README.Cygwin 4 Oct 2005 10:34:36 -0000 1.1<br>+++ README.Cygwin 2 Mar 2006 02:47:50 -0000<br>@@ -7,8 +7,7 @@<br> package. We've tested the port on Windows XP SP2,
<br> but it should work on Windows 95, 98, ME, 2000 and NT.<br> <br>-This file documents how to install the binary distribution of<br>-Mercury on Windows and how to build the source distribution<br>+This file documents how to build the source distribution
<br> of Mercury on Windows using Cygwin. This installation will use the GNU<br> C compiler by default. If you want to use the Microsoft Visual C<br> compiler, please see the file README.MS-VisualC.<br>@@ -30,17 +29,6 @@
<br> <br> <a href="http://sources.redhat.com/cygwin/">http://sources.redhat.com/cygwin/</a><br> <br>-If you're going to use a binary distribution of Mercury for Windows,<br>-you need to make sure that you get a version of Cygwin that is
<br>-compatible with the one that the binary distribution was compiled<br>-with. This will normally be specified in the filename of the<br>-Mercury binary distribution. For example, if the file name is<br>-mercury-0.9.1.pc-windows-cygwin-1.1.4.tar.gz
then you need version<br>-1.1.4 of Cygwin. Later versions may work also, however it is always<br>-possible that compatibility might break at some point. Cygwin will<br>-create a file C:\cygwin\setup.txt that lists the versions of every
<br>-package installed.<br>-<br> Before continuing, check that you can run Cygwin and get a command line<br> shell, and that `gcc' (the GNU C compiler) works.<br> <br>@@ -50,16 +38,13 @@<br> <br> UNPACKING THE SOURCES<br>
<br>-After installing Cygwin, you should download the Mercury source or<br>-binary distribution, and unpack it.<br>+After installing Cygwin, you should download the Mercury source<br>+distribution, and unpack it.<br> <br>
You should use Cygwin's tar program to unpack the Mercury distribution.<br> From a cygwin command shell, use the `cd' command to change directory<br>-to the directory where you saved the source or binary distribution that
<br>-you downloaded, and then use `tar zxf <filename>' to unpack it,<br>-where <filename> is the filename that you downloaded, e.g.<br>-mercury-compiler-<version>.tar.gz (for the source distribution), or
<br>-mercury-<version>.i686-pc-cygwin-windows.tar.gz (for the binary distribution).<br>+to the directory where you saved the distribution that you downloaded,<br>+and then use `tar zxf mercury-compiler-<version>.tar.gz' to unpack it.
<br> <br> Note that other programs which understand tar.gz files (e.g. WinZip)<br> may not be able to unpack them in the correct manner for use with Cygwin.<br>Index: README.DotNet<br>===================================================================
<br>RCS file: /home/mercury1/repository/mercury/README.DotNet,v<br>retrieving revision 1.13<br>diff -u -u -r1.13 README.DotNet<br>--- README.DotNet 19 Feb 2004 06:38:48 -0000 1.13<br>+++ README.DotNet 2 Mar 2006 02:47:50 -0000
<br>@@ -13,15 +13,16 @@<br> compiler, and to pass more than 90% of the applicable tests in the Mercury<br> test suite.<br> <br>-The port is currently targetted at the Microsoft .NET Framework SDK version 1.<br>+The port is currently targeted at the Microsoft .NET Framework SDK versions 1
<br>+and 1.1. We recommend version 1.1.<br> <br> PREREQUISITES<br> <br> In order to try this system you will need <br> <br>- - The Microsoft .NET Framework SDK version 1, which can be<br>+ - The Microsoft .NET Framework SDK version 1 or
1.1, which can be<br> downloaded for free from<br>- <<a href="http://msdn.microsoft.com/net/">http://msdn.microsoft.com/net/</a>><br>+ <<a href="http://msdn.microsoft.com/netframework/">http://msdn.microsoft.com/netframework/
</a>><br> If you are an MSDN Universal subscriber you can also order<br> CDs as part of your subscription.<br> <br>@@ -35,7 +36,7 @@<br> Microsoft Windows 2000 (SP 2 recommended)<br> Microsoft Windows XP Professional
<br> <br>- We have tested only on Windows 2000 (with SP 2).<br>+ We have tested only on Windows 2000 SP 2 and Windows XP SP2 Home.<br> <br> - Cygwin (see README.MS-Windows for how to install).<br> The Mercury compiler still runs as a native compiler, built
<br>@@ -70,7 +71,7 @@<br> <br> If you're reading this file from somewhere other than the<br> Mercury distribution, try the Mercury homepage at<br>- <<a href="http://www.cs.mu.oz.au/mercury/">http://www.cs.mu.oz.au/mercury/
</a>><br>+ <<a href="http://www.cs.mu.oz.au/research/mercury/">http://www.cs.mu.oz.au/research/mercury/</a>><br> <br> -----------------------------------------------------------------------------<br> <br>
@@ -180,7 +181,7 @@<br> <br> <a href="http://www.cs.mu.oz.au/research/mercury/dotnet.html">http://www.cs.mu.oz.au/research/mercury/dotnet.html</a><br> <br>- <a href="http://msdn.microsoft.com/net/">http://msdn.microsoft.com/net/
</a><br>+ <a href="http://msdn.microsoft.com/netframework/">http://msdn.microsoft.com/netframework/</a><br> <br> <a href="http://www.gotdotnet.com/">http://www.gotdotnet.com/</a><br> <br>@@ -197,13 +198,11 @@<br> Q. Does it work with other .NET Common Language Runtime implementations,
<br> such as Mono, Portable.Net, or Rotor?<br> <br>-A. Some parts of the Mercury standard library implementation for .NET<br>- are implemented using Managed C++ (Microsoft's extensions to C++<br>- to support .NET). So you need the Microsoft .NET SDK (which includes
<br>- the command-line version of Microsoft's C++ compiler) to build the<br>- Mercury standard library in the `il' grade.<br>+A. In theory, it should be able to build with any ECMA-compliant IL assembler<br>+ and C# compiler. However, we have as of yet been unable to build the
<br>+ standard library with any other .NET CLR implementations. <br> <br>- In theory, once you have done that, it should be possible to<br>+ Once the standard libray has been built it should be possible to<br> build Mercury programs in the `il' grade using any ECMA-compliant
<br> IL assembler that provides the same command-line interface as<br> the Microsoft ilasm.exe program, and to execute them using any<br>@@ -211,10 +210,9 @@<br> tried using other .NET CLR implementations.<br> <br>
<br>-Q. Does it work with versions of the Microsoft .NET Framework SDK greater<br>- than 1.0?<br>+Q. Does it work with the Microsoft .NET Framework SDK 2.0?<br> <br>-A. We don't know, because we've only tried it with version
1.0.<br>+A. We don't know, because we've only tried it with versions 1.0 and 1.1.<br> If you have a later version, try it out yourself and let us know<br> whether it works!<br> <br>Index: README.MS-VisualC<br>===================================================================
<br>RCS file: /home/mercury1/repository/mercury/README.MS-VisualC,v<br>retrieving revision 1.7<br>diff -u -u -r1.7 README.MS-VisualC<br>--- README.MS-VisualC 2 Apr 2004 08:53:39 -0000 1.7<br>+++ README.MS-VisualC 2 Mar 2006 02:47:50 -0000
<br>@@ -7,6 +7,9 @@<br> dependencies on Cygwin have been removed and cygwin is still required<br> for installation (see README.MS-Windows).<br> <br>+If you wish to use the Microsoft Visual C++ Toolkit 2003, or Microsoft<br>
+Visual C++ Express 2005, you will require the Platform SDK.<br>+<br> -----------------------------------------------------------------------------<br> <br> CONFIGURATION<br>@@ -50,6 +53,9 @@<br> a) cvs -d :pserver:guest@cvs.mercury.cs.mu.oz.au
:/home/mercury1/repository login<br> (password is guest)<br> b) cvs -d :pserver:guest@cvs.mercury.cs.mu.oz.au:/home/mercury1/repository co -r version-0_10_1 mercury<br>+<br>+ Alternatively, you can just run mmake realclean to create a fresh
<br>+ version of the compiler.<br> <br> Then to use MSVC++ to build the compiler issue the following configure<br> command. (You must be able to run MSVC++ from command line):<br><br>