[Scons-users] StaticLibrary builder

Russel Winder russel at winder.org.uk
Wed Aug 8 10:39:25 EDT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20120808/18754305/attachment-0001.pgp>


More information about the Scons-users mailing list