Jun Yuan Tan da0fdc9b56 Add Node.js v18.0.0 submodule and cross-compile instructions | 1 年間 前 | |
---|---|---|
.. | ||
node @ 49a77a5a99 | 1 年間 前 | |
README.md | 1 年間 前 |
===How to Cross-compile Node.js v18.0.0===
$ export PATH=»:$PATH»
$ git clone https://github.com/nodejs/node.git -b v18.0.0
$ CC=riscv64-unknown-linux-gnu-gcc CXX=riscv64-unknown-linux-gnu-g++ CC_host=gcc CXX_host=g++ ./configure –dest-cpu=riscv64 –cross-compiling –dest-os=linux –openssl-no-asm
$ make -j32 && make install PREFIX=./install