[Vm-dev] Re: CMakeVMMaker patch

Luc Fabresse luc.fabresse at gmail.com
Wed Jan 11 14:16:25 UTC 2012


2012/1/11 Sean P. DeNigris <sean at clipperadams.com>

>
>
> Luc Fabresse wrote
> >
> > It works for me probably because I still use snow leopard and xcode
> 4.2...
> >
> If you upgraded from an earlier version of Xcode, gcc will remain on your
> system; but fresh installs do not include it. I installed it from MacPorts
> (see
> http://forum.world.st/Xcode-no-longer-includes-gcc-tp4283855p4284100.html
> ).
>

ok.


>
>
> Luc Fabresse wrote
> >
> >> > cmake -D CMAKE_C_COMPILER=gcc-4.2 -D CMAKE_CXX_COMPILER=g++-4.2 .
> >
>
> After installing gcc, this line "worked" as shown in this output:
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> where before is said unknown instead of GNU.
>
> However, when I opened the project in Xcode, it was still using the default
> compiler, and I had to manually change to gcc anyway.
>

yes that is normal.

I think that now you can use my CMakeVMMakerConfig which forces gcc42.
And if you generate the xcode project file from it, it should use gcc42
directly.

Luc



>
> --
> View this message in context:
> http://forum.world.st/CMakeVMMaker-patch-tp4225050p4285415.html
> Sent from the Squeak VM mailing list archive at Nabble.com.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120111/74f24229/attachment.htm


More information about the Vm-dev mailing list