I will not be at my windows machine for several day where I've been 
trying cmake in MinGW; but I think I had the same problem you have run 
into.  I think the path construction is very sensitive, have your tried 
&quot;/c/MinGW/bin/gcc.exe&quot; or &quot;/c:/MinGW/bin/gcc.exe&quot;<br><br><div class="gmail_quote">On Tue, Aug 14, 2012 at 6:17 AM, LM <span dir="ltr">&lt;<a href="mailto:lmemsm@gmail.com" target="_blank">lmemsm@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I built and used cmake on DeLi Linux with no issues, but every time I<br>
try it on Windows, I seem to have problems.  My latest attempt, I just<br>
downloaded version 2.8.9.  I&#39;m using mingw (gcc 4.6.2) and msys.  From<br>
within msys, I tried running ./bootstrap --system-libs --system-zlib<br>
--system-bzip2 --system-libarchive --system-curl --no-qt-gui<br>
--prefix=/usr/local --docdir=/usr/local/share/doc/CMake<br>
--mandir=/usr/local/share/man --verbose<br>
It errors out with:<br>
<br>
make: `cmake&#39; is up to date.<br>
loading initial cache file<br>
C:/mingw/msys/home/lm/bld/src/cmake/mingw/tmp/cmake-2.8.9/Bootstrap.cmk/InitialCacheFlags.cmake<br>
-- The C compiler identification is GNU 4.6.2<br>
-- The CXX compiler identification is GNU 4.6.2<br>
-- Check for working C compiler: c:/MinGW/bin/gcc.exe<br>
-- Check for working C compiler: c:/MinGW/bin/gcc.exe -- broken<br>
CMake Error at Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br>
  The C compiler &quot;c:/MinGW/bin/gcc.exe&quot; is not able to compile a simple test<br>
  program.<br>
<br>
  It fails with the following output:<br>
<br>
   Change Dir: C:/MinGW/msys/home/lm/bld/src/cmake/mingw/tmp/cmake-2.8.9/<br>
CMakeFiles/CMakeTmp<br>
<br>
  Run Build Command:C:/MinGW/msys/bin/make.exe<br>
  &quot;cmTryCompileExec2155929314/fast&quot;<br>
<br>
  make -f CMakeFiles/cmTryCompileExec2155929314.dir/build.make<br>
  CMakeFiles/cmTryCompileExec2155929314.dir/build<br>
<br>
    make: make: Command not found<br>
<br>
  make: *** [cmTryCompileExec2155929314/fast] Error 127<br>
<br>
  CMake will not be able to correctly generate this project.<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:14 (PROJECT)<br>
<br>
-- Configuring incomplete, errors occurred!<br>
---------------------------------------------<br>
Error when bootstrapping CMake:<br>
Problem while running initial CMake<br>
---------------------------------------------<br>
<br>
My path is set to:<br>
PATH=/usr/local/bin:/mingw/bin:/opt/perl/bin:/bin:/usr/bin:/c/util<br>
<br>
I have the msys version of make at /bin/make.exe and my compiler is at<br>
/mingw/bin/gcc.exe<br>
<br>
I tried searching on the web and the cmake mailing list for<br>
instructions to build cmake with mingw and msys, but nothing I found<br>
shed any light on fixing this issue.  (I also tried running<br>
./bootstrap without the extra configuration switches.  Same problem.)<br>
What are the appropriate steps to get cmake to build using msys?  Is<br>
there anything I can do to prevent the error during building?  Any<br>
help in getting this to build properly would be greatly appreciated.<br>
Thanks.<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>John L. Poole<br><br>P.O. Box 6566 <br>Napa, CA 94581-6566<br>707-812-1323<br><br><a href="mailto:jlpoole56@gmail.com" target="_blank">jlpoole56@gmail.com</a><br>