[cfe-dev] Compiling a simple Win32 program

Cesar Mello cmello at gmail.com
Mon Jun 11 20:42:17 PDT 2012

At the time I did that test, I was so excited that I didn't realize I was
using the MS linker. That does not impact my excitment, but I'm curious if
linkers are in the scope of LLVM, and if a Windows linker is planned.


Best regards

On Wed, Jun 6, 2012 at 10:22 AM, Cesar Mello <cmello at gmail.com> wrote:

> Oh thank you so much Dmitry! It worked perfectly!
> clang -c test.cpp
> link test.o user32.lib msvcrt.lib msvcprt.lib
> clang and llvm are awesome! Congratulations to all for the great work!!!
> Best regards
> Mello
> On Wed, Jun 6, 2012 at 8:01 AM, r4start <r4start at gmail.com> wrote:
>> On 06/06/2012 14:54, Cesar Mello wrote:
>>> It compiles nicely, but fails to link. Please can you tell me how to
>>> specify user32 and gdi32 libraries for the linker? Sorry if I'm being too
>>> newbie. :-)
>> For example like this
>> link test.obj user32.lib msvcrt.lib msvcprt.lib
>>  - Dmitry Sokolov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120612/9e9f6f3c/attachment.html>

More information about the cfe-dev mailing list