25 Oct
2018
25 Oct
'18
3:10 p.m.
Edward Diener wrote:
My understanding, from having previously been active asking questions on the clang developers mailing list, is that there is absolutely no difference between clang targeting vc++, which the "--target=" does above for the compile and the link, and clang-cl. In fact if you look at a release of LLVM on Windows, which in recent builds defaults to targeting vc++, you will see that the clang-cl.exe is exactly the same size as the clang++.exe.
The difference on the clang side is only that clang-cl accepts cl command line options. The difference on our side is that clang-cl uses clang-win.jam, derived from msvc.jam, and clang++ uses clang-linux.jam, derived from gcc.jam. So it's not the same.