[cfe-users] Instructions for installing Clang Analyzer

gordonhenriksen at me.com gordonhenriksen at me.com
Thu Jan 10 08:12:41 PST 2013


In the first paragraph, 'building Clang from source code' is a hyperlink to the info you requested:

http://clang.llvm.org/get_started.html#build

On 2013-01-10, at 11:00, "Fletcher, John P" <j.p.fletcher at aston.ac.uk> wrote:

> The instructions for installing Clang Analyzer on systems other than the Mac appear to be incomplete:
> 
> http://clang-analyzer.llvm.org/installation#OtherPlatforms 
> 
> ----
> Other Platforms (Building the Analyzer from Source)
> 
> For other platforms, you must build Clang and LLVM manually. To do so, please follow the instructions for building Clang from source code.
> 
> Once the Clang is built, you need to add the following to your path:
> 
>    The location of the clang binary.
> 
>    For example, if you built a Debug+Asserts build of LLVM/Clang (the default), the resultant clang binary will be in $(OBJDIR)/Debug+Asserts/bin (where $(OBJDIR) is often the same as the root source directory). You can also do make install to install the LLVM/Clang libraries and binaries to the installation directory of your choice (specified when you run configure).
>    The locations of the scan-build and scan-view programs.
> 
>    Currently these are not installed using make install, and are located in $(SRCDIR)/tools/clang/tools/scan-build and $(SRCDIR)/tools/clang/tools/scan-view respectively (where $(SRCDIR) is the root LLVM source directory). These locations are subject to change.
> 
> ----
> These instructions don't say where to get the source code, or what to do with it.
> 
> Are there some fuller instructions somewhere else, please?
> 
> John Fletcher
> 
> 
> 
> _______________________________________________
> cfe-users mailing list
> cfe-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users




More information about the cfe-users mailing list