Windows Toolchain

Browse docs

On Windows, compiling programs with lde compile and installing C-based LuaRocks packages (like luasocket) requires a C compiler. lde handles this for you automatically.

Automatic clang setup

If no compiler is found on your PATH, lde downloads and sets up a full toolchain for you.

It consists of llvm-mingw and busybox, and is installed into ~/.lde/mingw

This is a one-time setup that happens on first use. After that, lde reuses the cached toolchain for every subsequent build.

Toolchain

The toolchain is not just clang. It most notably contains clang, make and an install of busybox for a unix shell.