From: simonpj Date: Tue, 21 Dec 2004 12:35:10 +0000 (+0000) Subject: [project @ 2004-12-21 12:35:10 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~1322 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=970fca0f5f45a614de19df092e4eab0d9117c3fa;p=ghc-hetmet.git [project @ 2004-12-21 12:35:10 by simonpj] An old commit about paths on windows --- diff --git a/docs/building/building.xml b/docs/building/building.xml index 3affc08..2a61ab8 100644 --- a/docs/building/building.xml +++ b/docs/building/building.xml @@ -4424,7 +4424,11 @@ Run both executables (in the order given above) to install them. I put them in Set the following environment variables - PATH: add c:/msys/1.0/bin to your path. (Of course, the version number may differ.) + PATH: add c:/msys/1.0/bin and + c:/msys/1.0/local/bin + to your path. (Of course, the version number may differ.) + MSYS mounts the former as both /bin and + /usr/bin and the latter as /usr/local/bin. HOME: set to your home directory (e.g. c:/userid). @@ -4695,7 +4699,7 @@ Make sure the installation directory is in your - Install Alex. This can be done by building from the + Install an executable Alex. This can be done by building from the source distribution in the same way as Happy. Sources are available from http://www.haskell.org/alex. @@ -4708,7 +4712,13 @@ Just pick up a mingw bundle at http://www.mingw.org/. We install it in c:/mingw. -Do not add any of the mingw binaries to your path. + +On MSYS, add c:/mingw/bin to your PATH. MSYS does not provide gcc, +ld, ar, and so on, because it just uses the MinGW ones. So you need them +in your path. + + +On Cygwin, do not add any of the mingw binaries to your path. They are only going to get used by explicit access (via the --with-gcc flag you give to configure later). If you do add them to your path you are likely to get into a mess because their names overlap with Cygwin binaries.