[Scons-dev] Clang support

Damian Maguire damian at sciantechnologies.com
Mon Jan 5 07:00:52 EST 2015


There's no official support that I've ever seen for it, but because Clang
generally plays nice with GCC it's usually possible to make it work just by
tweaking the environment a little. I actually wrote some small tools as
part of a project I work on (OpenMAMA) to support clang, and the static
analyzer - they basically inherit from GCC's tools, and set a few other
parameters. You can see the code for them here:

http://git.openmama.org/?p=OpenMAMA.git;a=tree;f=site_scons/site_tools;h=9f43e04b2e170548c2a115b21efef80d18b5bdcd;hb=refs/heads/next

I wouldn't go so far as to suggest they'll stand up to much of a test, but
they've been suitable for my requirements.

Cheers,

D

On Mon, Jan 5, 2015 at 11:48 AM, Russel Winder <russel at winder.org.uk> wrote:

> Is it my imagination or is there no support for Clang in SCons?
>
> --
> 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/20150105/1e1c34e2/attachment.html>


More information about the Scons-dev mailing list