ok, I'll see how to integrate it :)
cheers, Esteban
El 22/12/2011, a las 9:32a.m., Luc Fabresse escribió:
2011/12/22 Luc Fabresse luc.fabresse@gmail.com Hi Guys,
Find attached CMakeVMMaker-LucFabresse.143.
What I did:
- Add hook CPlatformConfig>>printExtraHeader: to be able to change compiler in Config
- add config CogMTCocoaIOSGCC42Config which forces gcc-4.2 (useful on OSX with XCode 4.2 that now uses llvm backend)
- fix StackCocoaIOSCLANGConfig to use compiler clang
It seems to work for me ;-) Perhaps it could be added in VMMaker repo?
Cheers,
#Luc
I forgot to say that the other alternative is to use a regular config and the following cmake line:
cmake -D CMAKE_C_COMPILER=gcc-4.2 -D CMAKE_CXX_COMPILER=g++-4.2 .
it may help someone.
#Luc