From 4e19ab1dcc4dbda6bf52fb971e1393f9fea04cbb Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 13 Feb 2002 15:29:27 +0000 Subject: [PATCH] [project @ 2002-02-13 15:29:27 by sof] Tweaks to the Windows section, in part. commented out the InstallShield section as it is no longer used. --- docs/building/building.sgml | 63 ++++++++++++++++++++++++++++++------------- 1 file changed, 44 insertions(+), 19 deletions(-) diff --git a/docs/building/building.sgml b/docs/building/building.sgml index 91f1995..62b3a38 100644 --- a/docs/building/building.sgml +++ b/docs/building/building.sgml @@ -3556,8 +3556,8 @@ don't do this you get very weird messages when you type -GHC uses the mingwin C compiler to -generate code, so you have to install that. Just pick up a mingwin bundle at +GHC uses the mingw C compiler to +generate code, so you have to install that. Just pick up a mingw bundle at http://www.mingw.org/. We install it in c:/mingw. @@ -3566,21 +3566,32 @@ We install it in c:/mingw. Install a version of GHC, and put it in your PATH. -The InstallShield tells you the path when you install it. + Because of various hard-wired infelicities, you need to copy -bash.exe (from GHC's extra-bin -directory), and perl.exe and -cat.exe (from GHC's bin directory) -to /bin (discover where your Cygwin root directory is -by typign mount). +bash.exe, perl.exe and +cat.exe (from Cygwin's bin +directory), to /bin (discover where your Cygwin +root directory is by typing mount). If +/bin points to the Cygwin bin +directory, there's no need to copy anything. + + + + + +By default, cygwin provides the command shell ash +as sh.exe. It has a couple of 'issues', so +in your /bin directory, make sure that +bash.exe is also provided as sh.exe. + You should not need to install ssh and cvs: they come with Cygwin. @@ -3612,28 +3623,41 @@ running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. ./configure: ./configure: No such file or directory configure: error: ./configure failed for ghc + + + + +You either need to add ghc to your +PATH before you invoke +configure, or use the configure +option . + + + +The Windows installer for GHC tells you at the end what +additions you need to make to your PATH. - - - After autoconf run ./configure in - fptools/ thus: + + + After autoconf run ./configure in + fptools/ thus: + ./configure --host=i386-unknown-mingw32 --with-gcc=/mingw/bin/gcc - Both these options are important! - It's possible to get into trouble using the - wrong C compiler! - - - +Both these options are important! It's possible to get into +trouble using the wrong C compiler! + + - + + -- 1.7.10.4