Skip to content

Nginx

Prerequisite for Coreutils

Get necessary dependencies:

sudo apt install 

Compile Coreutils with LLVM

Take the wllvm wrapper as an example:

./configure --with-cc=wllvm --with-cpp=wllvm++
make -j$(nproc)

To enable debugging, add -g to the compilation flags:

./configure --with-cc=wllvm --with-cpp=wllvm++ --with-cc-opt="-g"
make -j$(nproc)