mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 11:23:14 +01:00
e7fdbafe2dc5a63b100154df51d7edd89c31364a
The new module discovery scheme requires the following section order: .minfo_beg .minfo .minfo_end This works for non-PIC code because the segments have the same attributes. However, if -relocation-model=pic is passed to ldc2 then the .minfo section becomes writeable and the sequence of sections is changed. The quick fix is to mark the data always as writeable. Then all sections are always writeable. I think a better solution would be to base this in the used relocation model. But this information is currently only available in the driver. This fixes the failure in test case runnable/eh2.d
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-based 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 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++ (http://hyperrealm.com/libconfig/libconfig.html)
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 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!
Description
Languages
C
75.2%
C++
23.2%
D
0.7%
CMake
0.6%
Shell
0.2%