LDC is a compiler for the D programming language that uses the LLVM compiler infrastructure for the back end. The compiler front end is the same code as used in the DMD D compiler.
Questions tagged [ldc]
18 questions
0
votes
0 answers
Import Plugin for Meshlab to import IES Files?
i am a professional lighting designer and very often i have to deal with so calles IES Files.
These are used to describe the 3D illumination characteristics of a lightsource.
It's a PHOTOMETRY file and consists of only text.
Rows of Angles and rows…
0
votes
1 answer
ldc2 -static fails ld.gold error cannot find -lphobos2-ldc -ldruntime-ldc
tl;dr LDC compiles and links fine until the -static flag is used, then ld.gold cannot find the phobos or druntime libraries.
OS: Gentoo 64-bit
Kernel: 5.4.48
DMD version: 2.090
LDC2 version: 1.20.1 (DMD v2.090.1, LLVM 10.0.0)
I'm attempting to…

samsonjm
- 270
- 2
- 12
0
votes
1 answer
LDC2 -I option results in unresolved externals
I'm using the latest LDC2 beta, and when running the compiler with -I (Look for imports also in ) it fails with unresolved externals. These are my commands.
$ ldc2 "source\setup.d" -I "source" -J "build\vars" -of "build\bin\setup.exe" -m32…

Jacob Birkett
- 1,927
- 3
- 24
- 49