SCons, Linking and D

Iain Buclaw ibuclaw at ubuntu.com
Fri May 11 01:08:32 PDT 2012


On 11 May 2012 08:33, Russel Winder <russel at winder.org.uk> wrote:
> 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.
>

When you say C/C++/Fortran - is this gcc, g++, and gfortran that you
are referring to, or does SCons support the use of other compilers for
the same language too?


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list