<div class="gmail_quote">Yes, perhaps I already had some cmake generated build tree on my disk when i tried this. I will try once again with a clean build tomorrow.<br><div><br>About the path-file: Does this really change any behavior or does it just print a nicer output? I have never seen a patch file before..<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><br>
</div></div>Did you add the toolchain file to an existing build tree ?<br>
At least the output says first:<br>
<div class="im">-- Check for working C compiler: C:/DIAB/<a href="http://5.6.0.0/WIN32/bin/dcc.exe" target="_blank">5.6.0.0/WIN32/bin/dcc.exe</a><br>
</div>and later on:<br>
<div class="im">CMAKE_C_COMPILER= C:/Scania/ProgramsForBuild/MinGW/5.1.4/bin/gcc.exe<br>
<br>
<br>
</div>Also, please apply the attached patch to your cmake, then it should say<br>
"The C compiler identification is Diab"<br>
With this you can then add files which set variables specific for your<br>
compiler in files like Generic-Diab-C.cmake and Generic-Diab-CXX.cmake<br>
<br>
Alex<br>
</blockquote></div><br>