<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Maybe you need to set it to C:/software/propgcc/bin/propeller-elf-gcc.exe instead?  (Or ${WHATEVER_PATH}/propeller-elf-gcc${CMAKE_EXECUTABLE_SUFFIX} .)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">--
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Daniel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> CMake [mailto:cmake-bounces@cmake.org]
<b>On Behalf Of </b>david@zemon.name<br>
<b>Sent:</b> Wednesday, August 06, 2014 8:50 AM<br>
<b>To:</b> cmake@cmake.org<br>
<b>Subject:</b> Re: [CMake] Windows Path Issues<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Georgia","serif"">I've run it from CMD this time instead of Git Bash. Same results:</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">C:\Users\IGEN006\WORKSPACE_C_CPP\PropWare>cmake -G "Unix Makefiles" .<br>
-- The C compiler identification is GNU 4.6.1<br>
-- The CXX compiler identification is GNU 4.6.1<br>
-- The COGCXX compiler identification is GNU 4.6.1<br>
-- The ECOGC compiler identification is GNU 4.6.1<br>
-- The ECOGCXX compiler identification is GNU 4.6.1<br>
-- The ASM compiler identification is GNU<br>
-- Found assembler: C:/software/propgcc/bin/propeller-elf-gcc<br>
CMake Error at CMakeLists.txt:6 (project):<br>
 <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">  The CMAKE_C_COMPILER:<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">    C:/software/propgcc/bin/propeller-elf-gcc<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">  is not a full path to an existing compiler tool.<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">  Tell CMake where to find the compiler by setting either the environment<br>
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to<br>
  the compiler, or to the compiler name if it is in the PATH.<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Any ideas are greatly appreciated.</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Thanks,</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">David</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;word-wrap: break-word">
<span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">-----Original Message-----</span><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">From: <a href="mailto:david@zemon.name">
david@zemon.name</a></span><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">Sent: Tuesday, August 5, 2014 3:34pm</span><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">To: "Ivan Hrasko" <<a href="mailto:abhrasko@gmail.com">abhrasko@gmail.com</a>></span><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">Cc: <a href="mailto:cmake@cmake.org">
cmake@cmake.org</a></span><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">Subject: Re: [CMake] Windows Path Issues</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<div id="SafeStyles1407340069">
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Sorry about that. I am using "Git Bash" which is definitely a confusing environment. The compiler is PropGCC - the target is an embedded system. PropGCC
 ships with GNU Make 3.81 (and "make --version" confirms that is the version of make in my PATH).<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Perhaps the output of "bash --version" will help:<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">bash-3.1$ bash --version</span><span style="font-size:10.0pt;font-family:"Georgia","serif""><br>
</span><span style="font-size:10.0pt;font-family:"Courier New"">GNU bash, version 3.1.0(1)-release (i686-pc-msys)</span><span style="font-size:10.0pt;font-family:"Georgia","serif""><br>
</span><span style="font-size:10.0pt;font-family:"Courier New"">Copyright (C) 2005 Free Software Foundation, Inc.</span><span style="font-size:10.0pt;font-family:"Georgia","serif""><br>
</span><span style="font-size:10.0pt;font-family:"Courier New"">bash-3.1$</span><span style="font-size:10.0pt;font-family:"Georgia","serif""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Thanks,<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">David<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;word-wrap: break-word">
<span style="font-size:10.0pt;font-family:"Georgia","serif""><br>
<br>
-----Original Message-----<br>
From: "Ivan Hrasko" <<a href="mailto:abhrasko@gmail.com">abhrasko@gmail.com</a>><br>
Sent: Tuesday, August 5, 2014 2:26pm<br>
To: <a href="mailto:david@zemon.name">david@zemon.name</a><br>
Cc: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Subject: Re: [CMake] Windows Path Issues<o:p></o:p></span></p>
<div id="SafeStyles1407270662">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif"">1. What your environment exactly is? It does not look like Windows only (because I see in your log: bash-3.1$ cmake -G "Unix Makefiles" . ), so I expect you are using something
 like Cygwin and when you use this kind of environment you can<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif"">have problems with paths. For example C:/software/propgcc/bin/propeller-elf-gcc
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">is not a valid path for Cygwin, because cygwin</span><span style="font-size:10.0pt;font-family:"Georgia","serif"">
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">uses /cygdrive/ in its path for things which are located in Windows.</span><span style="font-size:10.0pt;font-family:"Georgia","serif""><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif"">2. When I use cmake on Windows (just Windows, cmd, not Cygwin or else) I use "MinGW Makefiles" not "Unix Makefiles" with GNU compilers.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Georgia","serif""><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif"">2014-08-05 19:56 GMT+02:00 <<a href="mailto:david@zemon.name" target="_blank">david@zemon.name</a>>:<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">I'm generally a Linux guy but need this project to work on all three main platforms.</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">I have my toolchain file working nicely in Linux, but for some reason I'm getting an error on Windows. Here's top of the console output:</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">bash-3.1$ cmake -G "Unix Makefiles" .
<br>
-- The C compiler identification is GNU 4.6.1<br>
-- The CXX compiler identification is GNU 4.6.1<br>
-- The COGCXX compiler identification is GNU 4.6.1<br>
-- The ECOGC compiler identification is GNU 4.6.1<br>
-- The ECOGCXX compiler identification is GNU 4.6.1<br>
-- The ASM compiler identification is GNU<br>
-- Found assembler: C:/software/propgcc/bin/propeller-elf-gcc<br>
CMake Error at CMakeLists.txt:6 (project):<br>
  The CMAKE_C_COMPILER:<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">    C:/software/propgcc/bin/propeller-elf-gcc<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">  is not a full path to an existing compiler tool.<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New"">  Tell CMake where to find the compiler by setting either the environment<br>
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to<br>
  the compiler, or to the compiler name if it is in the PATH.<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">This doesn't make too much sense to me. Anyone know why it would find the compiler at first and then loose it? The path that it lists
 is perfectly valid.</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Thanks,</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;word-wrap: break-word"><span style="font-size:10.0pt;font-family:"Georgia","serif"">David</span><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif""><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</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>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">
http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">
http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">
http://cmake.org/cmake/help/training.html</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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif""><br>
<br>
<br>
-- <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif"">Ivan Hrasko<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia","serif""><<a href="mailto:abhrasko@gmail.com" target="_blank">abhrasko@gmail.com</a>><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>