通过应该在哪里.emscripten LLVM_ROOT和NODE_JS指向? (Mac OS X中)
git clone git://github.com/kripken/emscripten.git
下载emscripten和运行
./emcc
一个.emscripten文件是在我的用户根目录中创建后。
==============================================================================
Welcome to Emscripten!
This is the first time any of the Emscripten tools has been run.
A settings file has been copied to ~/.emscripten, at absolute path: /Users/calvin/.emscripten
Please edit that file and change the paths to fit your system. Specifically,
make sure LLVM_ROOT and NODE_JS are correct.
This command will now exit. When you are done editing those paths, re-run it.
==============================================================================
我已经安装了LLVM,并通过使用MacPorts安装的NodeJS。那么我应该在哪里更改LLVM_ROOT和NODE_JS以指向?
我Node.js的预安装和.emscripten套NODE_JS到'节点',我就这样离开它,就像我在我的路径中一样。对于LLVM_ROOT,我从llvm.org下载了LLVM-3.0源代码。在构建之后,我将它指向由构建版本创建的Release/bin目录,在解压后的llvm-3.0.src目录中。希望这有助于 – Nitin 2012-04-04 02:20:00