I just found that some samples used link.exe from Visual Studio to generate the final image, does LLVM has a replacement for link.exe to generate the final binary? -- Thanks Thomson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111015/1b33f012/attachment.html>
Anton Korobeynikov
2011-Oct-15 19:02 UTC
[LLVMdev] Is there a separate linker for LLVM in Windows?
Hello> I just found that some samples used link.exe from Visual Studio to generate > the final image, does LLVM has a replacement for link.exe to generate the > final binary?No. You need to use your own platform linker. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Michael Spencer
2011-Oct-15 19:26 UTC
[LLVMdev] Is there a separate linker for LLVM in Windows?
On Sat, Oct 15, 2011 at 7:38 AM, Thomson <lilotom at gmail.com> wrote:> I just found that some samples used link.exe from Visual Studio to generate > the final image, does LLVM has a replacement for link.exe to generate the > final binary? > > -- > Thanks > ThomsonNot currently, but a linker is being worked on. Is there any reason why link.exe is undesirable? You can also use ld from MinGW. - Michael Spencer
Ivan Krasin
2011-Oct-16 02:35 UTC
[LLVMdev] Is there a separate linker for LLVM in Windows?
On Sat, Oct 15, 2011 at 12:26 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:> On Sat, Oct 15, 2011 at 7:38 AM, Thomson <lilotom at gmail.com> wrote: >> I just found that some samples used link.exe from Visual Studio to generate >> the final image, does LLVM has a replacement for link.exe to generate the >> final binary?I'm not related to the topic starter, but I see at least one huge disadvantage of the dependency on link.exe. W/o such a dependency it would be possible reliably generate Windows executables on Linux or Mac, which has its own benefits (e.g. distributed compilation) krasin>> >> -- >> Thanks >> Thomson > > Not currently, but a linker is being worked on. > > Is there any reason why link.exe is undesirable? You can also use ld from MinGW. > > - Michael Spencer > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Eli Bendersky
2011-Oct-16 03:29 UTC
[LLVMdev] Is there a separate linker for LLVM in Windows?
> Not currently, but a linker is being worked on. >Can you elaborate on this? I recall seeing a dev-meeting presentation mentioning this, but not much more. Is there more information available online about this effort? Eli