2012/1/11 Sean P. DeNigris <sean@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


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.



View this message in context: http://forum.world.st/CMakeVMMaker-patch-tp4225050p4285415.html
Sent from the Squeak VM mailing list archive at Nabble.com.