[m-rev.] for review: update README.MinGW
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Jan 4 18:11:13 AEDT 2011
I will add some stuff about building the java, erlang, and csharp
with MinGW and MSYS in a separate change.
----------
Branches: main, 11.01
Update README.MinGW
README.MinGW:
Describe how to use the GUI installer for MinGW and point
users to the mingw website for details on how to use other,
e.g. the command line, installers.
Delete instructions specific to the older releases of MinGW/MSYS.
(If anyone asks, we don't support those releases anymore.)
Delete a note about the Microsoft Management Console; configure
now contains a workaround for that problem.
Delete a note regarding an old version of autconf that doesn't
work. The autoconf supplied with recent versions of MinGW does
work.
Julien.
Index: README.MinGW
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/README.MinGW,v
retrieving revision 1.12
diff -u -r1.12 README.MinGW
--- README.MinGW 13 Jul 2010 09:19:36 -0000 1.12
+++ README.MinGW 4 Jan 2011 07:06:11 -0000
@@ -18,22 +18,16 @@
1. Download and install MinGW and MSYS
(available from <http://www.mingw.org>).
- To get MinGW just download the Automated MinGW Installer and run it.
+ The simplest installation method for MinGW and MSYS is to download and
+ run the MinGW GUI installer. In order to build and install Mercury you
+ will require at least the following components:
+
+ - MinGW Compiler Suite (C compiler)
+ - MSYS Basic System
+ - MinGW Developer Toolkit
- To get a version of MSYS which is capable of installing Mercury is
- slightly more difficult. The following process works as of 2009-09-30.
-
- - Run MSYS-1.0.11.exe
- - Run msysDTK-1.0.1.exe
- - Open an MSYS console window
- - cd /
- - tar --lzma -xf bison-2.4.1-1-msys-1.0.11-bin.tar.lzma
- - tar --lzma -xf flex-2.5.35-1-msys-1.0.11-bin.tar.lzma
- - tar --lzma -xf libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma
-
- If bison complains about msys-intl-8.dll being missing then you need to
- also install libintl-*-msys-dll-8.tar.lzma. This file is part of the MSYS
- gettext package. It should be installed as above.
+ Details of alternative MinGW and MSYS installation methods may be found
+ on the MinGW website.
2. Unpack the source distribution with a command like:
@@ -57,8 +51,7 @@
Add /c/mercury/bin (or whatever path you installed Mercury to) to the MSYS
PATH (you cannot add `c:/mercury/bin' to the MSYS PATH because `:' is used to
-separate directories in the MSYS PATH). Make sure Mercury's mmc appears in the
-PATH before the Microsoft Management Console.
+separate directories in the MSYS PATH).
NOTE TO DEVELOPERS: the tools/bootcheck script does not work properly
on MSYS at the moment -- it will build stage 3, but will not run the tests
@@ -68,12 +61,6 @@
gets added to the end of each line under MinGW. Then run mmake from the tests
directory.
-NOTE TO DEVELOPERS: there may be problems with configure scripts generated by
-the MinGW/MSYS versions of autoconf. The script will appear to run correctly
-but generates incorrect mercury_conf.h files. A working version of autoconf
-is available here:
- <http://downloads.sourceforge.net/mingw/autoconf2.5-2.61-1-bin.tar.bz2>
-
-----------------------------------------------------------------------------
BUILDING A CYGWIN COMPILER WHICH TARGETS MINGW
--------------------------------------------------------------------------
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