[cfe-dev] Linking in clang on Windows

Edward Diener eldlistmailingz at tropicsoft.com
Wed Oct 9 16:19:16 PDT 2013


On 10/9/2013 4:13 PM, Hans Wennborg wrote:
> On Wed, Oct 9, 2013 at 12:41 PM, Edward Diener
> <eldlistmailingz at tropicsoft.com> wrote:
>> Using clang on Windows what program is supposed to be called to do the link
>> step after compilation ?
>
> One has to use the link.exe that comes with Visual Studio.

And how does clang find that link.exe on Windows ? Is it expected that 
the end-user must put it somewhere on his PATH ? Is the end-user 
supposed to be running clang from the command line within a VC++ CoMmand 
Prompt ( vcvarsall.bat setup ) ?

BTW is there any documentation anywhere on a web page about running 
clang on Windows ?

>
> There is work in progress to build a Windows-compatible linker based
> on LLVM, called lld (http://lld.llvm.org/), but it's not ready yet.

Thanks for the info.





More information about the cfe-dev mailing list