<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">ok, I'll see how to integrate it :)<div><br></div><div>cheers,&nbsp;</div><div>Esteban</div><div><br><div><div>El 22/12/2011, a las 9:32a.m., Luc Fabresse escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div class="gmail_quote">2011/12/22 Luc Fabresse <span dir="ltr">&lt;<a href="mailto:luc.fabresse@gmail.com">luc.fabresse@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Guys,<div>&nbsp;</div><div>&nbsp;Find attached CMakeVMMaker-LucFabresse.143.</div><div>&nbsp;</div><div>What I did:</div><div>&nbsp;- Add hook CPlatformConfig&gt;&gt;printExtraHeader: to be able to change compiler in Config</div><div>&nbsp;- add config CogMTCocoaIOSGCC42Config which forces gcc-4.2 (useful on OSX with XCode 4.2 that now uses llvm backend)</div>

<div>&nbsp;- fix StackCocoaIOSCLANGConfig to use compiler clang&nbsp;<br clear="all"><br></div><div>&nbsp;It seems to work for me ;-)</div><div>&nbsp;Perhaps it could be added in VMMaker repo?&nbsp;</div><div><br></div><div>Cheers,</div><div><br>

</div><div>#Luc<br><br>
</div>
</blockquote></div><br><div>I forgot to say that the other alternative is to use a regular config and the following cmake line:</div><div><br></div><div>cmake -D CMAKE_C_COMPILER=gcc-4.2 -D CMAKE_CXX_COMPILER=g++-4.2 .&nbsp;<br clear="all">
<br></div><div>it may help someone.</div><div><br>#Luc<br></div><div><br></div>
</blockquote></div><br></div></body></html>