Skip to content
The LLVM-based D compiler.
C C++ CMake D Objective-C Makefile
Latest commit a5e8b3e @redstar redstar committed with kinke Fix for issue #1289.
The generated files miss the path.
Failed to load latest commit information.
bash_completion.d Use bash completion dir from config if available
cmake/Modules Add gccbuiltins_*.di for more supported targets.
dmd2 netbsd changes
driver Override LLVM default relocation model for ARM
gen Fix union initialization. Fixes issue 1286.
ir Fix union initialization. Fixes issue 1286.
runtime Fix for issue #1289.
tests Add testcases for issues #1211 and #421.
utils Add LLVM trunk's version of FileCheck to the utils directory to fix T…
vcbuild Windows: make sure the linker batch files return the linker's exit code
.clang-format driver/gen/ir: clang-format the world
.clang-tidy clang-tidy: Add readability-else-after-return
.gitattributes set proper attributes for Windows
.gitmodules Imported D2 testsuite (v2.060) as submodule.
.travis.yml Travis: Release build on OS X is now a required build.
CMakeCPack.cmake Add CPack configuration for debian packages
CMakeLists.txt cmake: Remove old dependencies from FindLLVM and ...
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…
README.md README: Mention binary packages in install section
appveyor.yml AppVeyor: Update ninja download URL
ldc2.conf.in Simplify and fix install target
ldc2_install.conf.in Dynamically load libcurl when needed (backport from post-2.068 upstream)
ldc2_phobos.conf.in Simplify and fix install target

README.md

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: http://wiki.dlang.org/LDC

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

Installation

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 http://wiki.dlang.org/Building_LDC_from_source.

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 and OS X package managers include recent versions of LDC, so manually installing it might not be necessary. For several platforms, there are also stand-alone binary builds available at the GitHub release page.

Contact

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

For further documentation, contributor information, etc. please see the D wiki: http://wiki.dlang.org/LDC

Feedback of any kind is very much appreciated!

Something went wrong with that request. Please try again.