[m-rev.] diff: clarify handling of installation paths with MSVC and MSYS
Julien Fischer
juliensf at csse.unimelb.edu.au
Wed Nov 23 22:42:52 AEDT 2011
Branches: main, 11.07
README.MS-VisualC:
Clairfy the handling of installation paths with MSYS.
Some other minor rewording.
Julien.
Index: README.MS-VisualC
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/README.MS-VisualC,v
retrieving revision 1.9
diff -u -r1.9 README.MS-VisualC
--- README.MS-VisualC 8 Nov 2011 03:11:41 -0000 1.9
+++ README.MS-VisualC 23 Nov 2011 11:40:18 -0000
@@ -53,7 +53,7 @@
The MSVC port of Mercury is compatible with the prebuilt C files contained in
the Mercury source distribution. The 'asm_fast' and 'reg' grades will not work
-with MSVC (see below), so when using prebuilt C files the compiler will be
+with MSVC (see below). When using the prebuilt C files the compiler will be
built in the 'none.gc' grade.
Alternatively, if you have an existing Mercury installation that uses the MinGW
@@ -73,12 +73,17 @@
On Cygwin, configure and mmake will do translation of Unix style paths, so you
may specify the installation directory using either a Unix- or Window-style
-path. On MSYS, you must use a Window-style path.
+path. On MSYS, you must use a full Windows-style path with a drive letter,
+except that you must use '/' instead of `\' as a directory separator.
+For example, this is acceptable:
-Be sure to quote Windows style paths used as arguments to the configure
-script's `--prefix' option, otherwise the shell will get confused.
+ $ ./configure --prefix="c:/where/to/install/mercury"
-Once configure has run, then you should do
+whereas the following is not:
+
+ $ ./configure --prefix="c:\where\to\install\mercury"
+
+Once configure has successfully finished, then you should do
$ make
$ make install
--------------------------------------------------------------------------
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