[cfe-dev] Location of clang binary

suyash singh via cfe-dev cfe-dev at lists.llvm.org
Fri Mar 27 21:04:34 PDT 2020


Thankyou,
Everything is working now

On Sat, Mar 28, 2020 at 12:47 AM Simon Cook <simon.cook at embecosm.com> wrote:

> Hi Suyash,
>
> Looking at the screenshot you've attached, it looks like you've added the
> commands themselves to your PATH, not the bin folder. If you add the bin
> folder instead it should work.
>
> Simon
>
> On Fri, Mar 27, 2020 at 6:14 PM suyash singh via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> 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?
>>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200328/c9444374/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/20200328/c9444374/attachment-0001.png>


More information about the cfe-dev mailing list