.emscripten LLVM_ROOTとNODE_JSはどこにポイントする必要がありますか? (マック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を 'node'にして、私はそれを私のパスに入れたままにしました。 LLVM_ROOTについては、llvm.orgからLLVM-3.0ソースをダウンロードしました。私はビルドによって作成されたRelease/binディレクトリに、llvm-3.0.srcディレクトリを展開していることを指摘しました。これが役に立てば幸いです – Nitin