Meurig Sage writes: 
> Hi, 
> I tried installing greencard on Windows NT and had problems. I
> picked up the basic binary bundle of ghc and that works ok. I then
> grabbed greencard. I followed the install file, running configure, 
> and then trying make boot but got the following error message.
>
>  ../../ghc/driver/ghc -M -optdep-f -optdep.depend -fvia-C -cpp
> -fglasgow-exts StdDis.lhs make: ../../ghc/driver/ghc: Command not found 
>
> I uncommented HC in the makefile and set it to point to the
> installed version of ghc-2.02. (I used make in-place rather than the
> full install so it's in
>
> HC=/usr/ghcstuff/fptools/bin/i386-unknown-cygwin32/ghc-2.02/ghc-2.02.)
>
> So it shouldn't be trying to use the ghc in ../../ghc/driver. What
> am I doing wrong?

Nothing :->, the cygwin32 port of GNU make is buggy when it comes to
dealing with sub-makes inheriting pieces of the environment. The
temporary workaround is just to manually copy the setting of HC down
into the lib/ and src/ directories inside green-card

Hope that helps,

--Sigbjorn

Reply via email to