[LLVMdev] How to link code into EXE, or, am I doing this wrong?

Joe Groff arcata at gmail.com
Wed Nov 7 18:25:51 PST 2012


On Wed, Nov 7, 2012 at 10:46 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:

>
> llvm currently has no way to generate PECOFF executables except to
> rely on the system linker. Your current options are:
>
> * Include the MinGW ld in your distribution.
> * Always use the llvm jit (with or without compiling your runtime to
> bitcode).
> * Wait for http://lld.llvm.org/ to become feature complete.
>

If you build for an i386-*-win32 or x86_64-*-win32 target, you should also
be able to link LLVM object files with the MSVC link.exe.

-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121107/549116d0/attachment.html>


More information about the llvm-dev mailing list