mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 21:03:53 +00:00
Estimated hours taken: 0.5 README.MS-Windows: bindist/bindist.README.MS-Windows: Update to reflect recent changes in Cygwin (name change "gnu-win32" => "Cygwin", new URL for the Cygwin WWW site, etc.). A few other minor improvements.
73 lines
2.6 KiB
Plaintext
73 lines
2.6 KiB
Plaintext
-----------------------------------------------------------------------------
|
|
|
|
INTRODUCTION
|
|
|
|
Mecury has been ported to Windows 95 and Windows NT
|
|
using the "Cygwin" Unix emulation package from Cygnus.
|
|
It should work on Windows 98 too, but we haven't tested that.
|
|
|
|
This file documents how to install the binary distribution
|
|
of Mercury on Windows using Cygwin.
|
|
|
|
(Note: we don't have any plans for a port to Windows 3.1.)
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
PREPARATION
|
|
|
|
To use or install Mercury on Windows, you need to first get Cygwin
|
|
from Cygnus, and install it.
|
|
|
|
If you're going to use a binary distribution of Mercury for Windows,
|
|
you need to make sure that you get a version of Cygwin that is
|
|
compatible with the one that the binary distribution was compiled
|
|
with. This will normally be specified in the filename of the
|
|
Mercury binary distribution. For example, if the file name is
|
|
mercury-0.8.1.pc-windows-cygwin-b20.1.tar.gz then it was compiled
|
|
with version b20.1 of Cygwin, so you will need version b20.1
|
|
(or any later version which preserves binary compatibility with b20.1).
|
|
|
|
You can download Cygwin from <http://sourceware.cygnus.com/cygwin/>.
|
|
Follow the installation instructions that come with Cygwin.
|
|
Make sure that the Cygwin binaries are in your PATH, that you have
|
|
a /tmp directory, that you have a copy of sh.exe in /bin.
|
|
Before continuing, check that `sh' and `gcc' work.
|
|
|
|
For more information on Cygwin, see the Cygwin web site mentioned above.
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
RUNNING CONFIGURE
|
|
|
|
Just type
|
|
|
|
sh configure
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
RUNNING MAKE INSTALL
|
|
|
|
Just type
|
|
|
|
make install
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
USING MERCURY
|
|
|
|
Once you've finished installing, you need to add the appropriate
|
|
directory, normally /usr/local/mercury-<VERSION>/bin, to your PATH.
|
|
|
|
You should be able to read the HTML version of the Mercury
|
|
documentation, which by default gets installed in the directory
|
|
/usr/local/mercury-<VERSION>/lib/mercury/html,
|
|
using Netscape or MS Internet Explorer. Or you can get a copy
|
|
of GNU Emacs for NT and use it to browse the INFO version in
|
|
/usr/local/mercury-<VERSION>/lib/mercury/info.
|
|
|
|
There may still be some problems with case-insensitive filenames
|
|
and the name clash between `mmake' and `Mmake'. If you run into any
|
|
such problems, rename the `Mmake' file in each subdirectory to `Mmakefile'.
|
|
|
|
-----------------------------------------------------------------------------
|