I've been using Google DartEditor, but it's distribution does not come with some tools. I've decided to build everything from its source, and here is the things I had to do to build Google Dart on Mac OS X Lion with Xcode 4.2:
gclient config http://dart.googlecode.com/svn/trunk/deps/all.deps gclient sync
args = ['xcodebuild', '-sdk', 'macosx10.7',
'xcode_settings': { # To switch to the LLVM based backend change the two lines below. 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', #'GCC_VERSION': '4.2',
gclient unhooks
./tools/build.py --arch=ia32 -m release
PhaseScriptExecution "Action \"generate_frogsh\"" /Users/masa/Documents/Dev/dart/dart/xcodebuild/dart-frog.build/Release_x64/frogsh.build/Script-095A7D91DE56B603C848FB82.sh cd /Users/masa/Documents/Dev/dart/dart/frog /bin/sh -c /Users/masa/Documents/Dev/dart/dart/xcodebuild/dart-frog.build/Release_x64/frogsh.build/Script-095A7D91DE56B603C848FB82.sh note: Generating frogsh file ./vm/code_generator_x64.h:36: error: unimplemented code VM exited with signal 6 |