SCons, Linking and D

Russel Winder russel at winder.org.uk
Fri May 11 00:33:01 PDT 2012


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

-- 
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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120511/82917211/attachment.pgp>


More information about the Digitalmars-d mailing list