On Monday, 7 November 2016 at 09:08:28 UTC, ANtlord wrote:
Hello! I've tried to separate ddmd frontend from ldc. I just move folder ddmd from ldc project (versions 1.0.0) and folder ddmd from build directory to my test project. Folder ddmd from build I moved because it contains module id. Also as far as I know I need to compile some C++ sources. And this thing is not clear for. I found declaration of class Library but I don't see body of this class. Is it generated by something during ldc compilation? Does somebody know?
You should compile with `-d-version=IN_LLVM`. The front-end code still has some backend specific stuff in it that is versioned-out when IN_LLVM is set.
-Johan
