The LLVM-based D Compiler.
Find a file
2013-02-13 00:07:49 +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 Consistently use quotes for LLVM includes. 2013-02-07 21:20:54 +01:00
dmd2 Consistently use quotes for LLVM includes. 2013-02-07 21:20:54 +01:00
driver Removed useless -quiet switch. 2013-02-13 00:07:49 +01:00
gen Minor code cleanup. 2013-02-11 08:25:30 +01:00
ir Sort includes according to style guidelines: 2013-02-07 21:20:55 +01:00
runtime Reenable druntime optimizations on pre-3.2 LLVM versions. 2013-02-09 11:04:55 +01:00
tests Fixed broken static struct member initializer 2013-02-11 04:20:59 +01:00
utils Sort includes according to style guidelines: 2013-02-07 21:20:55 +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 Factored out tool invocation code into separate file. 2013-02-13 00:07:48 +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!