Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 59 lines (41 sloc) 1.975 kB
754cf38 @klickverbot Added first draft of useful README.
klickverbot authored
1 LDC – the LLVM D Compiler
2 =========================
3
4 The LDC project aims to provide a portable D programming language
5 compiler with modern optimization and code generation capabilities.
6
7 The compiler uses the official DMD frontends to support both D1 and D2,
8 and relies on the LLVM Core libraries for code generation.
9
10 LDC is fully Open Source; the parts of the code not taken/adapted from
11 other projects are BSD-licensed (see the LICENSE file for details).
12
13 Please consult the project website for further information:
14 http://ldc-developers.github.com
15
16
17 Installation
18 ------------
19
20 In-depth material on building and installing LDC and the standard
21 libraries, including experimental instructions for running LDC on
22 Windows, is available on the project wiki, at
23 https://github.com/ldc-developers/ldc/wiki/Installation.
24
25 For the impatient, a quick guide for building on *nix systems:
26
27 1) Make sure your system has the necessary prerequisites:
28 - a working C++ build environment,
29 - CMake,
30 - LLVM 3.0+ (3.1 preferred),
31 - libconfig++ (http://hyperrealm.com/libconfig/libconfig.html).
32
33 2) Check out the library submodules, if you have not already:
34 $ cd ldc
35 $ git submodule update --init
36
37 3) Build and install LDC:
38 $ mkdir build && cd build # Out-of-source builds are recommended.
39 $ cmake .. # Use -DD_VERSION=1 to build the D1 compiler.
40 $ make
41 $ make install # Or run LDC directly from the bin/ directory.
42
43 In case the above steps do not work, please first visit the extended
44 documentation under the aforementioned URL.
45
46 Some Linux distributions are also packaging a recent version of LDC,
47 so building it manually might not be necessary.
48
49
50 Contact
51 -------
52
53 The best way to get in touch with the developers is either via the
54 mailing list at ldc-dev@googlegroups.com, or the #ldc IRC channel on
55 FreeNode. We can usually be found on the main (Digital Mars) language
56 newsgroups (http://forum.dlang.org) as well.
57
58 Feedback of any kind is very much appreciated!
Something went wrong with that request. Please try again.