[cfe-dev] Compiling a simple Win32 program
cmello at gmail.com
Wed Jun 6 06:22:55 PDT 2012
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!!!
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...
More information about the cfe-dev