<div dir="ltr">Sounds like it might be a shell cache issue.<div><br></div><div><a href="https://unix.stackexchange.com/questions/5609/how-do-i-clear-bashs-cache-of-paths-to-executables">https://unix.stackexchange.com/questions/5609/how-do-i-clear-bashs-cache-of-paths-to-executables</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 10:30 AM, christoph@ruediger.engineering <span dir="ltr"><<a href="mailto:christoph@ruediger.engineering" target="_blank">christoph@ruediger.engineering</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="#0563C1" vlink="#954F72">
<div class="m_-2271798186964883630WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I’ve one Linux system here, where cmake always detects a C compiler from a cross-toolchain. Doesn’t sound strange up to now, but the real deal is that the path to the compiler is totally unknown
 to the shell. It is not in PATH, CC and CXX env variables are empty and CMAKE_C_COMPILER and CMAKE_CXX_COMPILER are not set. The build server is used by multiple users and all but one can use cmake without issues. So I assume that it is some kind of per-user
 setting.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Does anyone have a hint for me where to continue digging?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">The detected compiler path looks a bit like cmake is automatically pulling a toolchain file, without having any toolchain file specified on the command line. Is there some mechanism for specifying
 a default toolchain file, i.e. via environment variable or config file?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Christoph<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">-- <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">rüdiger.engineering<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Christoph Rüdiger<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Düsseldorfer Str. 12<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">45145 Essen<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Germany<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">phone: +49 201 458 478 58</span><u></u><u></u></p>
</div>
</div>

<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>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" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/<wbr>listinfo/cmake</a><br>
<br></blockquote></div><br></div>