[Scons-dev] SCons and Clang

Alexandre Feblot alexandre at feblot.fr
Wed Jun 21 09:58:57 EDT 2017


Hi there,

Would this only support compiling with clang, or would you also intend in
some ways to handle clang static analysis tool (scan-build wrapper which
btw can use clang or gcc as a compiler)?

2017-06-21 15:15 GMT+02:00 Jason Kenny <dragon512 at live.com>:

> I 100% agree.
>
> I have a tool in Parts here: https://bitbucket.org/sconsparts/parts/src/
> 6a57ea6ae48acf491cda5ab8c1d45fd53d4543c2/parts/tools/clang.
> py?at=master&fileviewer=file-view-default
>
> There are some different options that can show up and a great options to
> have ( given we have some better configuration support in SCons ) is to
> have added the to force color output. This is also true for gcc in newer
> versions. The force of color allows for the useful and pretty output that
> clang provides to the users, that is turned off otherwise, because we are
> redirecting text output through a pipe
>
> Jason
>
> -----Original Message-----
> From: Scons-dev [mailto:scons-dev-bounces at scons.org] On Behalf Of Russel
> Winder
> Sent: Wednesday, June 21, 2017 6:22 AM
> To: SCons_Developers <scons-dev at scons.org>
> Subject: [Scons-dev] SCons and Clang
>
> For SCons 3.0 we really ought to have clang and clang++ tools as standard
> out of the box with no hacking needed. As I understand it, Clang follows
> GCC command line options, though I guess there are variations. So as a
> first stab, I'll create clang.py and clang++.py by copying and amending
> gcc.py and
> g++.py.
>
> Assuming someone hasn't already done this, and assuming no-one can see a
> fault with the line of reasoning.
>
> --
> Russel.
> ============================================================
> =================
> Dr Russel Winder     t:+44 20 7585 2200   voip:sip:
> russel.winder at ekiga.net
> 41 Buckmaster Road   m:+44 7770 465 077   xmpp:russel at winder.org.uk
> London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170621/e2cc4a98/attachment.html>


More information about the Scons-dev mailing list