[Scons-users] StaticLibrary builder
Kenny, Jason L
jason.l.kenny at intel.com
Wed Aug 8 11:04:31 EDT 2012
You can add 'default' tool to the tools, but if you are like me and want to reduce what is loaded to what is needed. I define these tools for the gcc toolchain ( which is something I want to get in to SCons with a new Setting (IAPAT) object) in Parts,
environment = Environment(tools=['gcc','g++','ar','gas','gnulink'])
I think that should add what you are missing.
Jason
-----Original Message-----
From: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org] On Behalf Of Russel Winder
Sent: Wednesday, August 08, 2012 9:39 AM
To: SCons_Users
Subject: [Scons-users] StaticLibrary builder
If I do:
environment = Environment()
environment.SharedLibrary(…)
then things work. If I do:
environment = Environment(tools=['g++','gnulink'])
environment.SharedLibrary(…)
then SCons tells me I am being a silly person, of course SharedLibrary doesn't exist on this tool. Which is counter-intuitive and breaks the Principle of Least Surprise.
From my current perspective, SCons is well broken.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
More information about the Scons-users
mailing list