[Scons-users] Has anyone used Purify with SCons?
Bill Deegan
bill at baddogconsulting.com
Wed Aug 20 15:11:27 EDT 2014
Take a look at the manpage.
http://www.scons.org/doc/2.3.2/HTML/scons-man.html
Look for
SHCXX or CXX and SHLINK and LINK and CC or SHCC depending if your are
building with shared libraries or not.
Just prepend your purify tool.
Also you'll likely need to add any environment variables needed to run
purify to env['ENV'][...]
In the past when I've done this, I created a separate Environment() for
running purify and only if a command line flag was set to do so.
-Bill
On Wed, Aug 20, 2014 at 8:41 AM, doc <drplastic99 at yahoo.com> wrote:
> Purify's instructions state that all you need to do is merely put purify
> before the gcc/g++ command. Simple. But I don't see how to do this with
> SCons.
>
> Can someone point me to some documentation or examples.
>
> Thank you.
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140820/20f215b5/attachment-0001.html>
More information about the Scons-users
mailing list