[cfe-dev] clang on Windows
john.thompson.jtsoftware at gmail.com
Tue Sep 29 12:39:22 PDT 2009
For running just the front end, you can just execute clang-cc.exe. I don't
know how much of clang.exe works on Windows. A quick look (trying clang -c
clang: error: unable to execute command: program not executable
clang: error: assembler command failed due to signal 1 (use -v to see
I only use the front end, clang-cc now.
I have a patch for having it find the Visual Studio headers via the
environment, but apparently it's still under discussion/review. I've
enclosed it, though it's probably a bit stale by now.
Otherwise, for now, I would use the -I option, or possibly the
CPLUS_INCLUDE_PATH or C_INCLUDE_PATH variables.
On Tue, Sep 29, 2009 at 12:11 PM, Joel Klein <jfklein at wolfram.com> wrote:
> I'm compiling clang on Windows with Visual Studio, and wondering how to
> take this parenthetical comment from the "Getting Started" page
> Alternatively, build the "clang" project for the compiler driver (note
> that the driver is currently broken on Windows), or the "ALL_BUILD"
> project to build everything, including tools.
> In my build, I notice clang can't find the standard headers. Is that
> what's meant by the driver is currently broken?
> Do I need to explicitly tell clang where to look (with -I), or is there
> a way to configure the include path so that clang.exe doesn't need
> explicit -I options?
> Joel Klein
> Kernel Developer, Wolfram Research, Inc.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev