[Scons-users] Custom Builder Tool for IAR Compiler

Bill Deegan bill at baddogconsulting.com
Thu Oct 5 12:58:54 EDT 2017


Marco,

I think you need to reread:
https://github.com/SConsProject/scons/wiki/ToolsForFools

You instantiate a tool via:
env.Tool('toolname')

You should place your tool in site_scons/site_tools

-Bill

On Thu, Oct 5, 2017 at 6:21 AM, 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171005/e0525b14/attachment.html>


More information about the Scons-users mailing list