[Vm-dev] Re: CMakeVMMaker patch

Luc Fabresse luc.fabresse at gmail.com
Thu Dec 22 12:32:25 UTC 2011


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/b8a4cd8f/attachment.htm


More information about the Vm-dev mailing list