digitalmars.D.ldc - Missing dependencies in building-LDC instructions
- Joseph Rushton Wakeling (7/7) Oct 22 2015 The wiki page description of how to build LDC:
- Joakim (5/12) Oct 22 2015 zlib comes with phobos, so it isn't listed, as that list only
- David Nadlinger via digitalmars-d-ldc (5/19) Oct 22 2015 LLVM itself has started to depend on those somewhat recently. When
- Joakim (2/9) Oct 23 2015 Ah, I see, didn't know that.
- Joseph Rushton Wakeling (2/3) Oct 25 2015 On both zlib and libedit ... ?
- David Nadlinger via digitalmars-d-ldc (5/6) Oct 25 2015 If I remember correctly, yes. I'm not sure which components require it,
- Joseph Rushton Wakeling (4/10) Jan 31 2016 Bit late to be following up on this, but I've added them to the
- David Nadlinger via digitalmars-d-ldc (3/5) Jan 31 2016 Thanks!
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.
Oct 22 2015
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?
Oct 22 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: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. — DavidThe 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?
Oct 22 2015
On Friday, 23 October 2015 at 06:51:29 UTC, David Nadlinger wrote:On 23 Oct 2015, at 6:41, Joakim via digitalmars-d-ldc wrote:Ah, I see, didn't know that.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.
Oct 23 2015
On Friday, 23 October 2015 at 06:51:29 UTC, David Nadlinger wrote:LLVM itself has started to depend on those somewhat recently.On both zlib and libedit ... ?
Oct 25 2015
On 25 Oct 2015, at 11:50, Joseph Rushton Wakeling via digitalmars-d-ldc wrote:On both zlib and libedit ... ?If I remember correctly, yes. I'm not sure which components require it, but llvm-config spits them out as part of the ldflags. — David
Oct 25 2015
On Sunday, 25 October 2015 at 14:14:41 UTC, David Nadlinger wrote:On 25 Oct 2015, at 11:50, Joseph Rushton Wakeling via digitalmars-d-ldc wrote:Bit late to be following up on this, but I've added them to the wiki page: http://wiki.dlang.org/Building_LDC_from_source#PrerequisitesOn both zlib and libedit ... ?If I remember correctly, yes. I'm not sure which components require it, but llvm-config spits them out as part of the ldflags.
Jan 31 2016
On 31 Jan 2016, at 14:57, Joseph Rushton Wakeling via digitalmars-d-ldc wrote:Bit late to be following up on this, but I've added them to the wiki page: http://wiki.dlang.org/Building_LDC_from_source#PrerequisitesThanks! — David
Jan 31 2016