[LLVMdev] Getting started (Windows)
aaronngray.lists at googlemail.com
Sat May 30 04:50:29 PDT 2009
> Hi Eli,
>> Try changing the third line of the output from the demo to look like
>> the following:
>> target triple = "i586-mingw32msvc"
> Fantastic, thanks!
>>There's a pre-built llvm-gcc for Windows at
> Hmm, don't know how I missed that...
> I guess that clears up all my beginners issues.
The only issue is that LLVM-GCC uses GAS to assemble to COFF files, so its a
bit slower than direct object emission and you will need to use binutils to
link to PE or DLL.
We are working on DOE backends for COFF/PE/DLL, ELF and MachO at present but
that work will not be completed for another few months.
More information about the llvm-dev