Missing dependencies in building-LDC instructions

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Oct 22 23:51:16 PDT 2015


On 23 Oct 2015, at 6:41, Joakim via digitalmars-d-ldc wrote:
> On Thursday, 22 October 2015 at 23:12:03 UTC, Joseph Rushton Wakeling 
> wrote:
>> The wiki page description of how to build LDC:
>> http://wiki.dlang.org/Building_LDC_from_source
>>
>> ... seems to be missing a couple of dependencies, namely zlib and 
>> libedit (required for -lz and -ledit).  The LLVM version constraints 
>> are also probably a little outdated.
>>
>> Happy to tweak the page myself at some point, but thought I'd raise 
>> it here first in case someone wants to offer some input.
>
> zlib comes with phobos, so it isn't listed, as that list only consists 
> of external dependencies.  I don't know about libedit, where is it 
> actually used?

LLVM itself has started to depend on those somewhat recently. When 
linking LLVM statically (which is the default), they are added to the 
list of ldflags that llvm-config reports.

  — David


More information about the digitalmars-d-ldc mailing list