October 2011
1 post
Building Dart on Snow Leopard
I was stuck at the unsupported GCC error in building Dart on my Snow Leopard. The fix was simple - to remove the explicit version requirement, and let it use the system default. Hope it doesn’t break anything.
Unsupported compiler 'GCC 4.2' selected for architecture 'x86_64'
Basically we have to clear out all references to GCC 4.2 from
GCC_VERSION = 4.2;
to
GCC_VERSION = ""
...