Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The LLVM-based D compiler.
C C++ CMake

Add libcurl to docker environment.

Removes disallowd g++-4.9-multilib package, too.
latest commit 65d325d05a
@redstar redstar authored
Failed to load latest commit information.
bash_completion.d Use bash completion dir from config if available
cmake/Modules Revert "LLVM 3.7: Add new component mir"
dmd2 MSVC: don't enforce 16-bytes alignment for real types.
driver Fix LLVM 3.7 build
gen Fix ICE caused by type mismatch on casting sret return value
ir Add some debug code to vtable generation.
runtime Merge pull request #1002 from kinke/laa
tests/d2 Use a byte array for padding of unions/structs.
utils LLVM 3.7: ListInit.getSize() was renamed to ListInit.size().
vcbuild [WIP] Set real == double on Win64 MSVC.
.gitattributes set proper attributes for Windows
.gitmodules Imported D2 testsuite (v2.060) as submodule.
.travis.yml Add libcurl to docker environment.
CMakeCPack.cmake Add CPack configuration for debian packages
CMakeLists.txt CMakeLists.txt: Allow EXTRA_CXXFLAGS to be set from command line.
Doxyfile Inlined sources in Doxygen docs (for tablet use) and increased DOT ma…
LICENSE Merged all licenses into LICENSE for release packaging; updated LDC c… Add coverage testing. MSVC: pass /LARGEADDRESSAWARE:NO to MS linker. MSVC: pass /LARGEADDRESSAWARE:NO to MS linker. MSVC: pass /LARGEADDRESSAWARE:NO to MS linker.

LDC – the LLVM-based D Compiler

Build Status Test Coverage Bountysource

The LDC project aims to provide a portable D programming language compiler with modern optimization and code generation capabilities.

The compiler uses the official DMD frontends to support the latest version of D2, and relies on the LLVM Core libraries for code generation.

LDC is fully Open Source; the parts of the code not taken/adapted from other projects are BSD-licensed (see the LICENSE file for details).

Please consult the D wiki for further information:

D1 is no longer available; see the 'd1' Git branch for the last version supporting it.


In-depth material on building and installing LDC and the standard libraries, including experimental instructions for running LDC on Windows, is available on the project wiki, at

If you have a working C++ build environment, CMake, a current LLVM and libconfig++ ( available, there should be no big surprises, though.

Do not forget to make sure all the submodules are up to date:

$ cd ldc
$ git submodule update --init

Some Linux distributions are also packaging a recent version of LDC, so building it manually might not be necessary.


The best way to get in touch with the developers is either via the digitalmars.D.ldc forum/newsgroup/mailing list ( or the #ldc IRC channel on FreeNode.

For further documentation, contributor information, etc. please see the D wiki:

Feedback of any kind is very much appreciated!

Something went wrong with that request. Please try again.