<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br>I am trying to do cross-compiling with CMake for IAR compiler (ARM).<br>My main problem with the current CMake 2.8.2 is the complain about -c 
option from IAR compiler. IAR compiler does not accept -c as input C 
file and the sysntax is CC &lt;filename&gt;.c [options]. How can I tell 
CMake not to put -c when calling the external compiler when it's IAR?<br>
<br>There is a link for supporting IAR compiler in CMake at: <br><span><a target="_blank" href="http://www.cmake.org/Bug/view.php?id=10176">http://www.cmake.org/Bug/view.php?id=10176</a> but I don't know how to apply the changes.</span><br>Can anybody tell me what is the conclusion and how can I apply the required patches to CMake? This discussion is for CMake 2.6, is this fixed in newer version of CMake?<br><br>Cheers,<br>Hassan<br></div>
</div><br>



      &nbsp;</body></html>