<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> </div><div> Find attached CMakeVMMaker-LucFabresse.143.</div><div> </div><div>What I did:</div><div> - Add hook CPlatformConfig&gt;&gt;printExtraHeader: to be able to change compiler in Config</div><div> - add config CogMTCocoaIOSGCC42Config which forces gcc-4.2 (useful on OSX with XCode 4.2 that now uses llvm backend)</div>

<div> - fix StackCocoaIOSCLANGConfig to use compiler clang <br clear="all"><br></div><div> It seems to work for me ;-)</div><div> Perhaps it could be added in VMMaker repo? </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 . <br clear="all">
<br></div><div>it may help someone.</div><div><br>#Luc<br></div><div><br></div>