[cfe-dev] [LLVMdev] PSA: clang-cl can self host now!

Francois Pichet pichet2000 at gmail.com
Wed Feb 25 19:50:31 PST 2015


On Wed, Feb 25, 2015 at 3:48 PM, Zachary Turner <zturner at google.com> wrote:

> Over the weekend I had a random urge to make clang-cl be able to self
> host.  As of r230539, this should now be possible.  Steps to try this out:
>
> 1) Run vcvarsall.bat, same as you would for an MSVC hosted build.
> 2) set CC=CXX=clang-cl  (make sure it's in your path
> 3) Run CMake as you normally would, no special flags needed.
>

Here I suppose you mean run CMake using -G Ninja right? (It is not possible
to self-host using clang-cl.exe from within MSVC right?)
(Because I normally run CMake to generate MSVC projects)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150225/6b08af67/attachment.html>


More information about the cfe-dev mailing list