how to peform a 'make install' in a windows + cygwin + ghcenvironment?

Simon Marlow simonmar at microsoft.com
Fri May 7 11:13:50 EDT 2004


On 06 May 2004 14:50, Mauro La Salete Costa Lima de Araujo wrote:

> Hi folks,
> 
> I would like to know what I have to do if I wanna have a ghc, built by
> myself, avaliable to my shell environment, so I can invoke it as
> normal ('ghc' :P).
> I've built the fptools according the instructions at
> 'http://www.haskell.org/ghc/docs/latest/html/building/winbuild.html'
> and did a 'make install' under the fptools/ghc directory. But when I
> invoke the ghc, I get the following error:
> 
>
------------------------------------------------------------------------
------------------------
> $ ghc
> ghc.exe: Can't find package.conf as
> C:\haskell\cygwin\usr\local\ghc\driver\package.conf.inplace
>
------------------------------------------------------------------------
------------------------
> 
> what does it means? what I have to do to use my own copy of ghc
> instead of the '.msi' one?

GHC on Windows doesn't support 'make install', I'm afraid.  Making a
binary package on Windows is something of a black art.

You can run ghc directly from the build tree, as
fptools/ghc/compiler/ghc-inplace.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list