Skip to content
jacobly0 edited this page Jan 24, 2020 · 12 revisions

Welcome to the LLVM (e)Z80 wiki!

Quick Start

git clone -b z80 --depth 1 https://github.com/jacobly0/llvm-project.git
mkdir llvm-project/build
cd llvm-project/build
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=Z80
cmake --build . --target clang
ln -s $PWD/bin/clang ~/bin/ez80-clang

For more info see the LLVM Getting Started Guide and CMake Guide.

Clone this wiki locally