Reputation: 687
I have a Makefile that has various calls to scons.
scons "--jobs=8" -f SConstruct
The SCons command generates a line similar to the following:
g++ -o buildversion.o -c -c -g -fPIC buildversion.cc
How do you interface Purify into this mix? I'm guessing that ultimately the line is suppose to look like
purify g++ -o buildversion.o -c -c -g -fPIC buildversion.cc
Upvotes: 0
Views: 81
Reputation: 534
You need to set the environment, CC, CXX, SHCC, SHCXX, LINK, SHLINK depending on your particular scenario, appropriately, e.g.:
import os
env = Environment(ENV = {'PATH' : os.environ.get('PATH','')},
LINK = "purify g++")
Upvotes: 0