D and building libraries, breaking changes, etc.

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
SCons is beginning to gear up to releasing version 3.

In looking at the D tooling, I have found something of an inconsistency
that would lead to a breaking change. SCons 2 → 3 would be a good place
to do this, but it would require short-circuiting SCons' usual
deprecation process.

Currently the dmd, ldc, and gdc tools not only set up the compiler,
they also introduce the StaticLibrary builder, but not the
SharedLibrary builder. SCons normal set up is to use the link tool to
set up SharedLibrary builder and ar tool to set up StaticLibrary
builder. dmd, ldc, and gdc should not set up StaticLibrary builder.

So does anyone using SCons for D builds use StaticLibrary builder
without using the ar tool? If in SCons 3 you were required to use the
ar tool to get the StaticLibrary builder would there be a problem?

Also another issue of a breaking change: does anyone use SCons for D
builds on Fedora using the version of LDC where the library was called
libphobos-ldc.so instead of libphobos2-ldc.so. There is a hack in the
ldc tool for this. I would like to remove the hack. This is technically
a breaking change so should go into the deprecation cycle, I would like
to short circuit this as well in the light of moving SCons 2 → 3 and
allow breaking changes.

The default answer to questions is no, which would mean waiting for
SCons 4 to make these breaking changes.

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

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAllCP30ACgkQ1L3V0s7N
p7jRiw/+Mjs7e6+gH3yVEM/yaP2oIhXmtKTdRXyHx3hJIQYntC5ENtr5CA01qeSk
iATyyoUR/FajLtwvm3SK1R5H3x/Ue7dFT7jTBSliw6hcvDbiMB3ZShz64iq0J/Yl
G5MdfwYxndvgfBDAEBChiCdW0rC9pmboZxF+QZ+p+VtgxSRXHJ8gLF1PPO9BLHoL
4Gn07bqBQ0VIQT9dht8+mU5mtcraFP9VDYu253ecrdPzm374o/rz98F8TBD16TvV
eIbzhF55eoB31D2BCSuBobVm84kgZ3UHNT+VzUmeWItpAq3XrG4MNOv90BfAT3bB
wDa4U1qnzrDu9FQ0UkNNK1xNCglxy9SDmPBurKHbDxQvlIZbH7glwT5Or9rldsqg
YFlzY4wFlzr6ibo1jMOEwJVj/ot9b4JaR163DRm8buFK+qoF/hPMzGo+iNh/ycwp
pA4ucbpWObvQdb1jIP580o1Um6vLD2LCbm1zENx4hF4NwjZFzOC/lNYRwZdfGuEI
TNXiF+UR3zi3DnKSxoRltwLHONrVhVRgDFPb/wy9xZkjmmaqpqh+KJdKsIPkL2dM
C45MHJxuUbca+r+U4IFFTenvvGSM/FuBGlBvGajcbN0fh2500m+UMdeq0ACJtS14
lDQlEhjR0QoXXbOLOHb9PwreJ5DFszp1f3HM6TNYc9GLWz78S/0=
=kAbN
-----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.