The LLVM-based D Compiler.
Find a file
Dan Olson 61bb66bccd Use build host D compiler real type
D needs to compile itself on non-x86 hosts where real type might be
something other than 80-bit extended precision.  The simplest approach
is to use the existing D compiler real type as it must already have
correct real.nan and snan intializer.

Note this does not work for cross-compiling to alternate targets and is
only intended as transitional until that capability is added.

Upstream commit: a776514edc914e2e09bd4298fb07f2ac99e86f45
2016-04-10 19:55:47 -07:00
bash_completion.d
cmake/Modules
ddmd
driver
gen
ir
runtime
tests
utils
vcbuild
.clang-format
.clang-tidy
.editorconfig
.gitattributes
.gitmodules
.travis.yml
appveyor.yml
circle.yml
CMakeCPack.cmake
CMakeLists.txt
Doxyfile
LDC-DMD2.068.2 full.diff
LDC-DMD2.068.2 WIP.diff
ldc2.conf.in
ldc2_install.conf.in
ldc2_phobos.conf.in
LICENSE
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 (>= 3.5), and libconfig available there should be no big surprises. Building LDC also requires a working D compiler, DMD and LDC are supported. (LDC 0.17 is the last version that does not need a D compiler, and for that reason we try to maintain it in the 'ltsmaster' branch).

Do not forget to make sure all the submodules (druntime, phobos, dmd-testsuite) are up to date:

$ cd ldc
$ git submodule update --recursive --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 our Gitter chat. There is also 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!