Is it possible to create a library with ldc and port it to LLVM

Ruby The Roobster michaeleverestc79 at
Wed Sep 23 22:59:25 UTC 2020

Can you create a library(.lib) with ldc and port it to clang++?

module test;
import std.stdio;
void hi()

//test.cpp(links to test.lib which contains test.hi
#include <iostream>
extern "D" void hi();
void main() {
//Hopefully prints "hi"

More information about the digitalmars-d-ldc mailing list