[CMake] MinGW broken on Vista

Brandon Van Every bvanevery at gmail.com
Thu Oct 25 19:50:26 EDT 2007


On 10/25/07, David Cole <david.cole at kitware.com> wrote:
> On 10/23/07, Brandon Van Every <bvanevery at gmail.com> wrote:
>
> > If you try to run CMakeSetup with MinGW on Windows Vista, and you get
> > a screenful of errors including a line:
> >
> > gcc.exe: installation problem, cannot exec `cc1': No such file or
> directory
> >
> > it's not you and it's not CMake.  MinGW's gcc 3.4.5 is fundamentally
> > broken under Vista.  I've been chasing around the mailing list
> > archives and it looks like it won't be officially fixed until MinGW
> > ships gcc 4.2.0.  Unofficially, you can get a patched set of driver
> > files.
> > http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz
> > YMMV as to how well they work.  They do get me past the "cannot exec
> > cc1" problem but I don't have any other experience with them so far.
>
> Possible Solution:
> ==================
> A "set of patched driver files" is (hopefully) not really necessary. I
> installed the "stable" MinGW 5.13 on my Vista laptop with gcc 3.4.2 and had
> the same issue. I got it to work by adding this to my path:

The archives of the MinGW mailing list say that's not enough and you
have to do more than that.  There are several things affected and
that's why new drivers were issued by that guy.  I'm not going to
repeat all the stuff from the MinGW list; I've given you guys the
summary of what the verdict is.  If you don't believe it you can go
rediscover it all for yourselves in a few hours.


Cheers,
Brandon Van Every


More information about the CMake mailing list