[Scons-users] Custom Builder Tool for IAR Compiler
Marco Schuler
marco.schuler at gmail.com
Mon Oct 9 03:05:05 EDT 2017
Hi Bill Ok, I am going to reread ToolsForFools and see if I can find the
missing link.
--
Marco
2017-10-05 18:58 GMT+02:00 Bill Deegan <bill at baddogconsulting.com>:
> 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
>>
>>
>
> _______________________________________________
> 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/20171009/0397e324/attachment.html>
More information about the Scons-users
mailing list