- Install the latest version of LLVM.
- Make sure that you select the option to add LLVM to your PATH.
git clone https://github.com/exeme-project/llvm-ir-examplesNote
These examples assume your command prompt is open in the examples directory.
Note
These examples are for the hello-world example. Replace hello-world with the name of the example you want to build.
cd hello-world
clang main.ll -o main.exe
main.execd hello-world
clang main.ll -o main
./mainbuild-all.bat./build-all.sh