[cfe-dev] Using Clang 5.0.0 RC2 with MSVC dev builds

don hinton via cfe-dev cfe-dev at lists.llvm.org
Tue Aug 15 15:04:09 PDT 2017


On Tue, Aug 15, 2017 at 2:53 PM, Stephan T. Lavavej <
stl at exchange.microsoft.com> wrote:

>
> [don hinton]
> > I can't test this since I don't have windows, but I think the problem
> > is the additional directory checks in findVCToolChainViaEnvironment()
> > which don't match his path to cl.exe, i.e.,
> > S:\binaries\x86ret\bin\i386\cl.exe.
>
> I think you're correct (which is why I explained my directory structure).
> If I had an override option to say "you'll find cl.exe and link.exe on the
> path, and I've set up INCLUDE and LIB for you, there's no need to inspect
> the directory structure further", I think that would be sufficient.
>
>
Unfortunately, it looks like the current test is based on the path.
Perhaps it would be better to actually run a simple test compile, a la,
configure/cmake, and spit out the value of _MSC_VER instead.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170815/cf7c33cc/attachment.html>


More information about the cfe-dev mailing list