<br><br><div class="gmail_quote">2011/12/22 Esteban Lorenzano <span dir="ltr">&lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 <br><div style="word-wrap:break-word"><div>Hi,</div><div><br></div>what you say is to avoid changing default compiler? (without redirecting llvm to gcc)?</div></blockquote><div><br></div><div>yes.</div><div>because I like keeping default OS config and because I don&#39;t know how to change the default osx compiler ;-)</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Luc</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><br>
</div><div>cheers,</div><div>Esteban<br><div><br><div><br><div><div>El 22/12/2011, a las 9:32a.m., Luc Fabresse escribió:</div><br><blockquote type="cite"><br><div class="gmail_quote">2011/12/22 Luc Fabresse <span dir="ltr">&lt;<a href="mailto:luc.fabresse@gmail.com" target="_blank">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>
</blockquote></div><br></div></div></div></div></div><br></blockquote></div><br>