[Scons-users] Custom Builder Tool for IAR Compiler

Hua Yanghao huayanghao at gmail.com
Thu Oct 5 09:43:06 EDT 2017


I recently had to do the same thing. Just somewhere in your
SConstruct/SConscript (or any function it calls from scons_site) to
load it: env.Tool('your_tool_name').

In your tool definition you either define new builders or change the
envrionment variables any existing tool relies on.

On Thu, Oct 5, 2017 at 3:21 PM, Marco Schuler <marco.schuler at gmail.com> wrote:
>
>
> 2017-10-05 0:11 GMT+02:00 Bill Deegan <bill at baddogconsulting.com>:
>>
>> It's a default builder.
>> It uses LINK or SHLINK  and SHLINKCOM or LINKCOM as the command lines.
>
>  Just define those appropriately.
>>
>> Take a look at link.py and gnulink.py as examples..
>
>
> Ok, I'll define LINK etc. in a custom-tool stm8link.py.
>
> What I do not understand by looking at link.py and gnulink.py is where these
> tools/builder get instantiated.  Where would I instantiate it? In my
> SConstruct? In an __init__.py inside my tools-directory?
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>


More information about the Scons-users mailing list