代码拉取完成,页面将自动刷新
Dependencies | Windows | Linux | Darwin |
---|---|---|---|
cmake >= 3.12 | √ | √ | √ |
clang/LLVM {8.x, 9.x} | √ | √ | √ |
visual studio 2017 (with C++ Tool) | √ | ||
gnu make | √ | √ | √ |
bash | √ (by git-bash) | √ | √ |
Run bat to install clang/LLVM.
REM for x64
curl -Ls -o "llvm-installer.exe" "https://github.com/llvm/llvm-project/releases/download/llvmorg-8.0.1/LLVM-8.0.1-win64.exe"
REM for ia32
curl -Ls -o "llvm-installer.exe" "https://github.com/llvm/llvm-project/releases/download/llvmorg-8.0.1/LLVM-8.0.1-win32.exe"
START /WAIT llvm-installer.exe /S /D=C:\"Program Files\LLVM"
EXIT
You can also install clang/LLVM manually from official releases (https://releases.llvm.org/download.html).
Then add "C:\Program Files\LLVM\bin"
to your environment variable %PATH%
.
Download git installation from git-downloads
: https://git-scm.com/downloads.
After install git, you should do more setup:
C:/Program Files/Git/mingw64/
C:/Program Files/Git/mingw32/
sh.exe
and make.exe
are in you %PATH%
environtment variable.apt install clang
apt install make
apt install cmake
apt install git
apt install ccache
apt install libx11-dev
apt install g++-x86-64-linux-gnu
apt install g++-i686-linux-gnu
apt install g++-arm-linux-gnueabihf
apt install g++-aarch64-linux-gnu
apt install g++-mips-linux-gnu
apt install g++-mips64-linux-gnuabi64
apt install g++-powerpc-linux-gnu
apt install g++-powerpc64-linux-gnu
rm -f /usr/include/asm
ln -s x86_64-linux-gnu /usr/include/i386-linux-gnu
ln -s x86_64-linux-gnu /usr/include/x86_64-linux-gnux32
dnf install gcc-c++
dnf install libstdc++-static
dnf install make
dnf install cmake
dnf install git
dnf install glibc-devel.i686
dnf install libstdc++-static.i686
brew install cmake
brew install git
pkg install cmake
pkg install libexecinfo
pkg install git
git clone https://github.com/fibjs/fibjs.git --recursive
If a repository is cloned without the --recursive flag, the submodules can be retrieved after the fact by running this command from within the repo:
cd fibjs
git submodule update --init --recursive
cd fibjs
git pull
git submodule update --init --recursive
bash build -j
./build.cmd
sudo sh bin/(Darwin|Linux|FreeBSD)_(i386|amd64|arm|arm64)_release/installer.sh
bin\Windows_(i386|amd64)_release\installer.exe
cd test
fibjs main.js
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。