Ran clang

Gedare Bloom gedare at rtems.org
Fri Mar 27 15:39:25 UTC 2020


This appears to be a pretty standard llvm/clang build for a host system.

There are two parts to consider:
* Using the host tools over RTEMS
* Using cross-compiler tools over RTEMS

For analyzer I don't think the cross-target is a problem but I'm not really
sure. That should be understood before pushing further. My understanding
though is that most of the analyzers run on the LLVM IR, so the backend is
irrelevant.

Gedare

On Fri, Mar 27, 2020 at 12:16 AM suyash singh <suyashsingh234 at gmail.com>
wrote:

> I have run clang. I faced multiple issues on the way due to incomplete
> documentation for clang and llvm. So I wrote all the steps to build them
> here
>
> https://github.com/suyashsingh234/rtems-notes/blob/master/README.md
>
> [image: image.png]
> [image: image.png]
>
> Next I will run scan-build and scan-view on a test file.
>
>
> https://docs.google.com/document/d/1OerM8Iix7PbDUCyb_J_KEzcMgLbvdqxd4FnK_BqI7XI/edit
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200327/87913035/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 200906 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200327/87913035/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 94923 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200327/87913035/attachment-0003.png>


More information about the devel mailing list