Wrapper for ldc2 to building windows binaries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Тим c0fbcf821e Изменить 'README.md' 5 months ago
bin replace bash-scripts i686-wldc2 and x86_64-wldc2 to rdmd-scripts 6 months ago
README.md Изменить 'README.md' 5 months ago



This a wrapper for ldc2 to building windows binaries on Linux/OSX

Dependencies for building

  • ldc2
  • lld-link

Dependencies for runtime installer

  • bash
  • wget
  • unzip
  • 7z


Configure runtime

Runtime configured by system environments:

VERSION - version of ldc2. Default "1.12.0"
TAG - git tag. Default "v${VERSION}"
PLATFORM - platform (windows,linux,osx). Default "windows"
ARCH - architecture of LDC. Default "multilib"
EXT - extension of archive with ldc. Default "7z"


After installing all dependencies, execute next commands:

git clone https://git.prime-hack.net/SR_team/wldc
chmod +x wldc/bin/download-wldc-runtime.sh wldc/bin/i686-wldc2.sh wldc/bin/x86_64-wldc2.sh
bash wldc/bin/download-wldc-runtime.sh

Add path /path/to/wldc/bin into $PATH

Reinstall runtime

cd /path/to/wldc/
git clean -xdf


wldc2.d app.d -of=app.exe