Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Windows installer should add MSYS to extra-prog-path/extra-lib-dirs/... #279

@23Skidoo

Description

@23Skidoo

The problem: build-type: Configure packages like old-time and network don't build out of the box on Windows, unless you perform the following steps:

Add to the cabal config file the following lines:

extra-prog-path: C:\Program Files\Haskell Platform\7.10.3\msys\usr\bin
extra-lib-dirs: C:\Program Files\Haskell Platform\7.10.3\mingw\lib
extra-include-dirs: C:\Program Files\Haskell Platform\7.10.3\mingw\include

In the program-location subsection of the cabal config file add

gcc-location: C:\PROGRA1\HASKEL1\7.10.3\mingw\bin\gcc.exe

(gcc-location is probably not needed nowadays)

IMO, the HP installer should do this automatically. I can't think of any objections, and #207 doesn't mention any either.

/cc @randen @ndmitchell

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions