Windows build: how did you do it?

Kai Nacke kai at
Sun Jan 26 09:11:39 PST 2014

On Sunday, 26 January 2014 at 13:48:29 UTC, Carl wrote:
> Did you ever get that error?

Hi Carl!

LLVM has not implemented everything which is needed for Windows. 
Some time ago I tried the same with clang:

clang -S -emit-llvm -o exc_alloc.ll exc_alloc.c
llc -filetype=asm exc_alloc.ll
clang -c exc_alloc.s

The file exc_alloc.c contained a dll_import reference which 
was/is not supported by the assembler. IMHO you are getting the 
same kind of error.

(Windows is not yet a first class citizen of LLVM. If you really 
need something implemented then you should look if you can 
contribute it to LLVM. I do the same.)


More information about the digitalmars-d-ldc mailing list