[LLVMdev] msbuild and clang
Russell Wallace
russell.wallace at gmail.com
Mon Jun 8 11:44:39 PDT 2015
I'm trying to compile some large programs with clang on Windows (with a
view to compiling to bit code and then running some whole program
optimisations on the bit code).
Take for example the Python 2.7 interpreter:
As is typically the case, the usual build procedure involves running
msbuild which invokes the Microsoft compiler.
The most obvious procedure would then be to substitute clang-cl.exe for
cl.exe and thereby take advantage of msbuild supplying correct flags,
include paths et cetera.
What's the recommended procedure for this - rename clang-cl.exe to cl.exe
and put it earlier in your path?
clang-cl requires some extra flags to get it to generate bit code instead
of object files - what's the recommended way to get that when msbuild
doesn't by default supply such flags?
Are there any existing tutorials or anything describing techniques for this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150608/f3001031/attachment.html>
More information about the llvm-dev
mailing list