Changes between Version 2 and Version 3 of Building/Windows/Cygwin


Ignore:
Timestamp:
Nov 18, 2011 10:19:56 AM (4 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Windows/Cygwin

    v2 v3  
     1= Installing and configuring Cygwin =
    12
    23
    3 = Installing and configuring Cygwin =
     41. Install [http://www.cygwin.com/ Cygwin]
    45
    5 Install Cygwin from [http://www.cygwin.com/].
    6 The installation process is straightforward; we install it in
    7 {{{c:/cygwin}}}.
    8 
    9 You must install enough Cygwin ''packages'' to support
    10 building GHC.  If you miss out any of these, strange things will happen to you.   There are two ways to do this:
    11  * The direct, but laborious way is to
    12    select all of the following packages in the installation dialogue:
     62. You must install enough Cygwin ''packages'' to support building GHC.  If you miss out any of these, strange things will happen to you.   There are two ways to do this:
     7 * The direct, but laborious way is to select all of the following packages in the installation dialogue:
    138   {{{cvs}}},
    149   {{{openssh}}},
    1510   {{{autoconf}}},
    16    {{{binutils}}} (includes ld and (I think) ar),
     11   {{{binutils}}},
    1712   {{{gcc}}},
    1813   {{{flex}}},
    1914   {{{make}}}.
    20    To see these packages,
    21    click on the "View" button in the "Select Packages"
    22    stage of Cygwin's installation dialogue, until the view says "Full".  The default view, which is
    23    "Category" isn't very helpful, and the "View" button is rather unobtrousive.
     15   To see these packages, click on the "View" button in the "Select Packages" stage of Cygwin's installation dialogue, until the view says "Full".
    2416 * The clever way is to point the Cygwin installer at the
    25    {{{ghc-depends}}} package, which is kept at
    26    [http://haskell.org/ghc/cygwin].
    27    When the Cygwin installer asks you to "Choose a Download Site", choose one of
    28    the
    29    offered mirror sites; and then type "http://haskell.org/ghc/cygwin" into the
    30    "User URL" box and click "Add"; now two sites are selected. (The Cygwin
    31    installer remembers this for next time.)
    32    Click "Next".
     17   {{{ghc-depends}}} package, which is kept at [http://haskell.org/ghc/cygwin]. When the Cygwin installer asks you to "Choose a Download Site", choose one of the offered mirror sites; and then type "http://haskell.org/ghc/cygwin" into the "User URL" box and click "Add"; now two sites are selected. (The Cygwin installer remembers this for next time.) Click "Next".
    3318   [[br]]
    34    In the "Select Packages" dialogue box that follows, click the "+" sign by
    35    "Devel", scroll down to the end of the "Devel" packages, and choose
    36    {{{ghc-depends}}}.
    37    The package {{{ghc-depends}}} will not actually install anything itself,
    38    but forces additional packages to be added by the Cygwin installer.
     19   In the "Select Packages" dialogue box that follows, click the "+" sign by "Devel", scroll down to the end of the "Devel" packages, and choose {{{ghc-depends}}}.
    3920
    4021Now set the following user environment variables: