LLVM BC as library

Void-995 void995 at gmail.com
Sun Oct 8 12:13:24 UTC 2017


On Sunday, 8 October 2017 at 11:57:01 UTC, kinke wrote:
> On Sunday, 8 October 2017 at 10:30:22 UTC, Void-995 wrote:
>> [...]
>
> Compiling to LLVM bitcode with LDC is as simple as adding 
> `-output-bc` to the command line. If you depend on the runtime 
> library (druntime) and standard library (Phobos), you should be 
> able to compile them to bitcode libraries by compiling LDC 
> yourself using CMake option BUILD_BC_LIBS=ON.

But I need GC anyway as I would like to use D classes.


More information about the digitalmars-d-ldc mailing list