ghc head on windows: gcc.exe: installation problem, cannotexec `cc1': No such file or directory

Claus Reinke claus.reinke at talk21.com
Thu Sep 18 09:45:14 EDT 2008


> Actually I've pushed an updated patch to Cabal HEAD, so I'm hoping
> someone will test & validate that on Windows. Though it needs to be
> tested by someone who was having the problem because it does not happen
> for everyone (for reasons that are not very clear).

I can confirm that the patch allows me to build on drive d:
while /mingw only exists on drive c:, so that workaround
solves my recent issue (and should mean that other people's
build no longer work by accident only, reducing chances for
obscure breakage). Neil: does it also render your special 
build settings obsolete?

In the long run, I'd still recommend not to change mingw's
internal directory layout for the bits included in ghc distributions
(distrib/prep-bin-dist-mingw is doing those changes), so that 
gcc can find its files without extra options. I've added a link to 
this thread to http://hackage.haskell.org/trac/ghc/ticket/1502 ,
in case this doesn't get fixed for the current release.

Thanks,
Claus



More information about the Cvs-ghc mailing list