[build2] Using build2 with clang 6 (trunk) on windows
Boris Kolpackov
boris at codesynthesis.com
Thu Dec 7 12:41:48 UTC 2017
Username I Wanted Was Already Taken <usernameiwantedwasalreadytaken at gmail.com> writes:
> ld exe{hello}
> LINK : error LNK2001: unresolved external symbol mainCRTStartup
> hello.lib(hello.lib.obj) : error LNK2019: unresolved external symbol
> __acrt_iob_func referenced in function printf
> hello.lib(hello.lib.obj) : error LNK2019: unresolved external symbol
> __stdio_common_vfprintf referenced in function _vfprintf_l
Thanks for the logs. Looks like we are almost there. It seems Clang
is linking in something extra (compared to VC). Could you run this
and send the output:
clang++.exe -v -o hello.exe hello.cxx
Thanks,
Boris
More information about the users
mailing list