SCons, Linking and D

Jacob Carlborg doob at me.com
Fri May 11 01:06:52 PDT 2012


On 2012-05-11 09:33, Russel Winder 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.

Do you mean that between each other or compared to the C/C++/Fortan 
compilers?

Both GDC (gdmd) and LDC (ldmd) ship with a wrapper script that emulates 
the DMD command lines.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list