[Vm-dev] Re: CMakeVMMaker patch
Esteban Lorenzano
estebanlm at gmail.com
Thu Dec 22 13:05:01 UTC 2011
Hi,
what you say is to avoid changing default compiler? (without redirecting llvm to gcc)?
cheers,
Esteban
El 22/12/2011, a las 9:32a.m., Luc Fabresse escribió:
>
> 2011/12/22 Luc Fabresse <luc.fabresse at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20111222/101792f8/attachment.htm
More information about the Vm-dev
mailing list