通過應該在哪裏.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