On Tue, 2017-08-29 at 07:39 -0700, Bill Deegan wrote:
> env.get is just like a python dictionary.

I can live with that. :-)

> the order will depend on the order the tools are loaded into the
> Environment()..

This is where the problem comes. I think there has to be a single,
deterministic loading order and that, to avoid breaking changes, that
the cc and c++ tools win for the definition of SHOBJSUFFIX. I am
surprised though that there have not previously been more hassles over
this as not all C and C++ compilers use .os extension.

I think we just have to accept that the default system is broken, and
that the GCC toolchain is the winner. We just have to warn dmd and ldc
toolchain users that this is the case and that using an explicit rather
than implicit/default toolchain, the problem goes away. (gdc is part of
GCC Suite and so doesn't have the problem.)

The current set of people using SCons for D builds haven't actively
complained so there is no real driver for "a fix" other than me wanting
it to work.
 
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to