On 10/23/07, <b class="gmail_sendername">Brandon Van Every</b> <<a href="mailto:bvanevery@gmail.com">bvanevery@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you try to run CMakeSetup with MinGW on Windows Vista, and you get<br>a screenful of errors including a line:<br><br>gcc.exe: installation problem, cannot exec `cc1': No such file or directory<br><br>it's not you and it's not CMake. MinGW's gcc
3.4.5 is fundamentally<br>broken under Vista. I've been chasing around the mailing list<br>archives and it looks like it won't be officially fixed until MinGW<br>ships gcc 4.2.0. Unofficially, you can get a patched set of driver
<br>files.<br><a href="http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz">http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz</a><br>YMMV as to how well they work. They do get me past the "cannot exec<br>
cc1" problem but I don't have any other experience with them so far.</blockquote><div><br>Possible Solution:<br>==================<br>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:<br><br>set PATH=C:\MinGW\bin;C:\MinGW\libexec\gcc\mingw32\3.4.2;%PATH%<br><br>This is in a windows cmd prompt. Translate accordingly for use in msys or cygwin environments... (Or perhaps for gcc
3.4.5...)<br><br>HTH,<br>David Cole<br><br></div></div>