[Vm-dev] Re: CMakeVMMaker patch

Luc Fabresse luc.fabresse at gmail.com
Thu Dec 22 13:10:18 UTC 2011


2011/12/22 Esteban Lorenzano <estebanlm at gmail.com>

>
> Hi,
>
> what you say is to avoid changing default compiler? (without redirecting
> llvm to gcc)?
>

yes.
because I like keeping default OS config and because I don't know how to
change the default osx compiler ;-)

Cheers,

Luc


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


More information about the Vm-dev mailing list