[build2] Using build2 with clang 6 (trunk) on windows

Boris Kolpackov boris at codesynthesis.com
Mon Dec 11 14:20:16 UTC 2017


Username I Wanted Was Already Taken <usernameiwantedwasalreadytaken at gmail.com> writes:

> Everything worked. Thanks.

Great, thanks for doing the legwork on this!


> C:\Tests\Build2\hello\clang-6>b config.cc.poptions=-D_DLL ^
>  config.cc.coptions=-nostdlib ^
>  config.cc.loptions=/DEFAULTLIB:msvcrt.lib
> c++ ../hello/cxx{hello}
> ld exe{hello}
> LINK : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other
> libs; use /NODEFAULTLIB:library

Hm, I wonder where is the warning coming from. Could you re-run it
with -V?

Thanks,
Boris



More information about the users mailing list