- 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-examples
Note
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.exe
cd hello-world
clang main.ll -o main
./main
build-all.bat
./build-all.sh