GHC - Cygwin Installation and also DirectX

Mike Thomas miketh@brisbane.paradigmgeo.com
Tue, 6 Mar 2001 17:40:26 +1000


Hi all.

I'm having ghc import path problems on NT:

----------------------------------------------------------------------------
------------------------------
$ ghc -i//c/ghc/ghc-4.08.2/lib/imports/win32 hello.lhs
Import path element `/cygdrive/c/ghc/ghc-4.08.2/lib/imports/win32' does not
exist, ignor
ing.

hello.lhs:14:
    Could not find interface file for `Win32'
    in the directories /cygdrive/c/ghc/ghc-4.08.2/lib/imports/win32/*.hi
                       ./*.hi
                       C:/ghc/ghc-4.08.2/lib/imports/std/*.hi

hello.lhs:15:
    Could not find interface file for `Addr'
    in the directories /cygdrive/c/ghc/ghc-4.08.2/lib/imports/win32/*.hi
                       ./*.hi
                       C:/ghc/ghc-4.08.2/lib/imports/std/*.hi

Compilation had errors
----------------------------------------------------------------------------
------------------------------

The Win32 installation instructions say that one should execute "mount -f C:
/", but having done that in response to this error it does not fix the
problem and it stops bash from starting up correctly (Cygwin is installed in
c:\cygwin and GHC in c:\ghc\ghc-4.08.2).  (Why am I supposed to do this
mount?)

Has anyone got a solution?

Furthermore, is anyone using Direct X especially Direct Play and Draw with
GHC?

Cheers

Mike Thomas.