The LLVM-based D Compiler.
Find a file
David Nadlinger 28a65ff689 Fix D1 build.
2013-02-07 00:49:52 +01:00
bash_completion.d Enhance completion path 2012-01-20 19:19:04 +01:00
cmake/Modules CMake 2.8.0 compatibility. 2012-12-11 23:08:13 +01:00
dmd Add pragma to install function as global C runtime ctor or dtor. 2012-12-22 21:18:37 +01:00
dmd2 Merge branch 'master' into merge-2.061-2 2013-02-03 15:50:39 +01:00
driver Fix D1 build. 2013-02-07 00:49:52 +01:00
gen Fix D1 build. 2013-02-07 00:49:52 +01:00
ir Merge branch 'master' into merge-2.061-2 2013-02-03 15:50:39 +01:00
runtime druntime/dmd-testsuite test fixes. 2013-02-06 22:15:37 +01:00
tests druntime/dmd-testsuite test fixes. 2013-02-06 22:15:37 +01:00
utils Follow "The Great Renaming" in LLVM 3.3 2013-01-03 08:52:23 +01:00
vcbuild using rsp instead of esp 2013-01-26 13:24:13 +01:00
.gitattributes Do not include .travis.yml in release tarballs. 2012-12-13 16:20:05 +01:00
.gitmodules Imported D2 testsuite (v2.060) as submodule. 2012-09-07 03:51:31 +02:00
.travis.yml Split Travis test execution into debug and release tests. 2013-01-12 18:33:18 +01:00
CMakeLists.txt Make frontend endian-aware. 2013-01-21 08:41:21 +01:00
Doxyfile Added Doxygen file. 2009-04-15 20:06:25 +02:00
ldc-posix-tango Add dmd-style configuration file for rebuild usage. See #236 and thanks to ccuter for the patch! 2009-03-21 09:47:48 +01:00
ldc.rebuild.conf.in Merged build system patches by Jonathan Mercier. 2011-11-09 20:40:39 +01:00
ldc2.conf.in Use shiny new debug libraries. 2012-12-06 16:24:22 +01:00
ldc2.rebuild.conf.in Use shiny new debug libraries. 2012-12-06 16:24:22 +01:00
ldc2_install.conf.in Use shiny new debug libraries. 2012-12-06 16:24:22 +01:00
ldc2_phobos.conf.in Use shiny new debug libraries. 2012-12-06 16:24:22 +01:00
ldc_install.conf.in Finally fix Tango import paths. 2012-03-28 13:59:05 +02:00
LICENSE Merged all licenses into LICENSE for release packaging; updated LDC copyright year. 2012-12-16 17:19:14 +01:00
README New NG/ML/forum. 2012-12-16 19:49:42 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LDC  the LLVM D Compiler
=========================

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 both D1 and 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


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.

For the impatient, a quick guide for building on *nix systems:

 1) Make sure your system has the necessary prerequisites:
  - a working C++ build environment,
  - CMake,
  - LLVM 3.0+ (3.2 preferred),
  - libconfig++ (http://hyperrealm.com/libconfig/libconfig.html).

 2) Check out the library submodules, if you have not already:
  $ cd ldc
  $ git submodule update --init

 3) Build and install LDC:
  $ mkdir build && cd build  # Out-of-source builds are recommended.
  $ cmake ..  # Use -DD_VERSION=1 to build the D1 compiler.
  $ make
  $ make install # Or run LDC directly from the bin/ directory.

In case the above steps do not work, please first visit the extended
documentation under the aforementioned URL.

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


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!