[Gtkradiant] scan-build scons

Timothee Besset ttimo at ttimo.net
Mon Oct 15 16:53:26 EDT 2012


Try to pass those on the command line rather than in environment. E.g. scons CC=mycc CXX=mycxx

That might work. Otherwise I would symlink gcc and g++ to what you are trying to call ( in some temp directory).

Let us know if that works, it's likely to find an enormous amount of stuff :)

TTimo

On Oct 14, 2012, at 12:39, John Smith <lbalbalba at gmail.com> wrote:

> Hi,
> 
> 
> Im trying to run the LLVM/clang static source code analyzer
> (scan-build) on gtkradiant. scan-build normally works by overriding
> the environment variables CC and CXX, so you can run the analyzer this
> way :
> 
> scan-build make
> 
> However, this approach does not seem to work with scons. Is there a
> way I can override the compiler used when using scons ?
> 
> 
> Regards,
> 
> 
> John Smith
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at icculus.org
> http://icculus.org/mailman/listinfo/gtkradiant


More information about the Gtkradiant mailing list