[cfe-dev] Location of clang binary

suyash singh via cfe-dev cfe-dev at lists.llvm.org
Fri Mar 27 11:14:07 PDT 2020


I added to path but the commands(scan-build, scan-view) are not working

[image: image.png]


On Fri, Mar 27, 2020 at 9:19 PM Denis Petrov <dpetrov at accesssoftek.com>
wrote:

> Hi, Suyash
>
>
> *scan-build**, **scan-view* and *clang* should be in* <path to llvm
> sources>/llvm-project/build/bin* after
>
>  you successfully​ built sources.
>
>
> I've put this path to PATH and it works for me.
>
>
> Good luck!
> ------------------------------
> *Denys Petrov*
> Senior С++ Developer | Kharkiv, Ukraine
>
> ------------------------------
> *От:* cfe-dev <cfe-dev-bounces at lists.llvm.org> от имени suyash singh via
> cfe-dev <cfe-dev at lists.llvm.org>
> *Отправлено:* 27 марта 2020 г. 8:04
> *Кому:* cfe-dev at lists.llvm.org; suyash singh
> *Тема:* [cfe-dev] Location of clang binary
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.  If you suspect potential phishing or spam email,
> report it to ReportSpam at accesssoftek.com
> I have built llvm and clang debug mode from source on Ubuntu 18.04
> https://clang.llvm.org/get_started.html#build
>
> According to
> https://clang-analyzer.llvm.org/installation#OtherPlatforms  (see under
> other platforms)
> I need to add the clang to path and locations of scan-build and scan-view
> to path.
>
> I can't find any of them
> What is their location?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200327/6626579d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 85955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200327/6626579d/attachment-0001.png>


More information about the cfe-dev mailing list