If you set any env['XYZ'], a builder could set up a call back function to get called when the value is changed. So for example. The tool sets env['CC'], in the Environment() initialization, then the user sets it explicitly. The builder could have a function which would be called when it is set, which would allow the builder to reconfigure the tool and/or other related env variables.
-Bill On Sat, Sep 3, 2016 at 11:32 PM, William Blevins <[email protected]> wrote: > Bill, > > You mean set CC to the directory rather than the gcc compiler? I'm not > sure I understand your question. > > V/R, > William > > On Thu, Sep 1, 2016 at 4:47 PM, Bill Deegan <[email protected]> > wrote: > >> Greetings, >> >> Here's what I"m thinking. >> >> env['CC'] = '/my/path/to/custom/gcc/version' >> >> Would then call a method specified in the gcc tool. >> This would allow (minimally) SCons to set the compiler version correctly. >> For example: >> env['GCCVERSION']='5.0.0' >> >> Thoughts? >> >> -Bill >> >> _______________________________________________ >> Scons-dev mailing list >> [email protected] >> https://pairlist2.pair.net/mailman/listinfo/scons-dev >> >> > > _______________________________________________ > Scons-dev mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/scons-dev > >
_______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
