Skip to content
jacobly0 edited this page Nov 23, 2019 · 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=DEBUG -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