[Scons-dev] Ability to send callback for setting an Environment() variable..

William Blevins wblevins001 at gmail.com
Sat Sep 3 23:32:38 EDT 2016


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 <bill at baddogconsulting.com>
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
> 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/20160903/e057d882/attachment.html>


More information about the Scons-dev mailing list