SCons, Linking and D

Russel Winder <[email protected]> Fri, 11 May 2012 08:33:01 +0100
Newsgroups gmane.comp.version-control.subversion.rapidsvn.devel,gmane.comp.lang.d.general
Message-ID <1336721581.19220.115.camel__32997.5985958756$1336721597$gmane$org@launcelot.winder.org.uk>
--=-wNGxkXPUwbG+ml+dFyFq
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Is there anyone out there using a mix of D with C/C++ and Fortran?

SCons goes to great lengths to be able to support almost arbitrary
combinations of C, C++, and Fortran -- where the compilers allow the
linker to link such combinations. Clealy mixing C and C++ or C and
Fortran are (relatively) straightforward, but mixing C++ and Fortran is
a problem. Adding DMD/GDC/LDC to this mix leads to a combinatorial issue
-- especially since the command line structures of dmd, gdc and ldc are
so different.

I am (slowly) arriving at the point of view that SCons support for D
should not be separate from the C, C++ and Fortran infrastructure, but
be an integral part of it -- it almost is already, so this is not as big
a deal as at first thought (possibly). On the other hand it is a big
deal because it involves solving some swept under the carpet issues...

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

--=-wNGxkXPUwbG+ml+dFyFq
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEABECAAYFAk+swK0ACgkQ+ooS3F10Be/TSwCg5odnbFiaeABriM1sdJZKpX7r
qRoAn0tEuu61WkDpxdywsospS1aEacN2
=+AMA
-----END PGP SIGNATURE-----

--=-wNGxkXPUwbG+ml+dFyFq--