For a particular system, there is some set of software that is required in order to build the Lensor Compiler Collection. This file provides, per system, the command(s) to fetch that software.
NOTE: We don’t install development-tools group because it includes subversion, systemtap, and a few other things we don’t actually use or need. The idea here is to provide the minimal list that is required, not just provide a command that makes it work. If that were the goal, installing every package available from your package manager would be a viable solution…
Base:
sudo dnf install \
cmake \
gcc \
gcc-c++ \
git \
libstdc++-devel \
makeTest:
sudo dnf install \
emacs \
libcxx \
libcxx-devel \
libcxxabi \
libcxxabi-devel \
mingw64-gcc \
mingw64-gcc-c++ \
mingw64-libstdc++ \
ucrt64-gcc \
ucrt64-gcc-c++ \
ucrt64-libstdc++Package:
sudo dnf install \
rpmbuildCompile/Run aarch64 target on x86_64 host:
sudo dnf install qemu-user-static-aarch64
sudo dnf copr enable lantw44/aarch64-linux-gnu-toolchain
sudo dnf install aarch64-linux-gnu-gccNOTE: it is possible to build LCC on Ubuntu (and maybe other Debian-based distros)
Base:
sudo apt install \
cmake \
gcc \
g++ \
git \
makeNOTE: testing UCRT toolchains is not available on Ubuntu due to lack of corresponding packages
Test:
sudo apt install \
emacs-nox \
llvm \
clang \
libc++-dev \
libc++-dev \
gcc-mingw-w64 \
g++-mingw-w64 \
gcc-mingw-w64-ucrt64 \
g++-mingw-w64-ucrt64Base:
sudo xbps-install \
cmake \
gcc \
git \
makeTest:
sudo xbps-install \
emacs \
llvm \
clang \
libcxx-devel \
libcxxabi-devel \
cross-x86_64-w64-mingw32ucrt \
cross-x86_64-w64-mingw32Base:
apk add build-base cmake gitTest:
apk add \
clang \
emacs-nox \
libc++ \
libc++-dev \
lld \
llvm