Re: Problematic conflicts between C/C++ and D

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Wed, 2017-08-23 at 09:56 -0700, Bill Deegan wrote:
> Don't avoid TARGET..
> 
> Here's where it's defined:
> src/engine/SCons//Tool/cc.py:    env['SHOBJSUFFIX'] = '.os'
> src/engine/SCons//Tool/cxx.py:    env['SHOBJSUFFIX'] = '.os'
> 
> Will setting the SHOBJSUFFIX in the relevant D tools do the trick?

The problem is that the setting is global in the default tool set so it
being set to .os in cc and cxx affects all the global default tool set.
If I set this is the dmd, ldc, and gdc tools to .o then it breaks the
cc and cxx tools. Been there, tried this, removed the experiment.

The default tools share a single namespace of environment variables and
this is the problem if the tools disagree on anything. In this case the
majority has to win so the dmd and ldc tools are just going to have to
remain broken in the default toolset. :-(

-- 
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

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAlmj35YACgkQ1L3V0s7N
p7jdKg/9GrbdgJR4hlwtreoH5Eox2AYhTWUESFr7dpO11MNR63K1yW6UPpKdq0vQ
/cXGTGhnTnFaELnJ3uuJH8G6GGGMrz4R2c9+L/jMf6zB9VFHRL+lthEREL3IbAN9
G641hDKTXant3WvRvEkxVMfehCyD2OB7SJLsculgTVv8zLix3WYKFAqq/fq3hsTC
SP/0v+Lex/UvfjqawKeeZSkPoGNuGkPGlmJw9WYxkt7MsNOxkfhWziLSsUxuLZUX
xKwzUrApYDKDpRY+HxI44HfAbDkAPweCzDOZMqEZKHqi+/lgHR+JyfaIWioOX3Je
s5BM44ApEqeJnvYwd+D5s5nKd7J7D7mgiJtKBvoBhkOe2zX/HjOICY6Z5gv9qCis
ND6y+zo3OQgDgn532CsDzTAqRZ8PuITz6bQe2z5aLsfDjwL5vC6UKrOkSRa0MT1C
vFuaOxQTQWndXhLeOa75eSxjASI2Kd1OLjtcWewtRoF8s02bp6IZNfI2GvG7eru2
uHK+b2XOxWLjamJVqSsZ5XU7l1FnbO/jY7iEW0fb+VlnzDfLoXX5X258SSZKAq8R
/cXPk9bSSCsarSdOn7CAeV1CA0o9DEWtKBbWiVDdVgofVXFZ0xQR3LoXrlqYLler
n3QPuMK+Gy5VZUPm95m57n8TghdNbVJD6b/LDJNKeGMjlKnzvJc=
=7Vc6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.