www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D and SCons

reply Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I am planning doing a bit more work on the SCons support for D.  In
terms of strategy the following question arises:  Are the object files
produced by DMD, GDC and LDC mutually compatible?  i.e. can some sources
be compiled with DMD, some with GDC, and some with LDC and all the
object files linked using whichever linker the user chooses?

Thanks.
=20
--=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:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jan 06 2012
parent Walter Bright <newshound2 digitalmars.com> writes:
On 1/6/2012 6:29 AM, Russel Winder wrote:
 I am planning doing a bit more work on the SCons support for D.  In
 terms of strategy the following question arises:  Are the object files
 produced by DMD, GDC and LDC mutually compatible?  i.e. can some sources
 be compiled with DMD, some with GDC, and some with LDC and all the
 object files linked using whichever linker the user chooses?

I would say don't depend on it. As far as I know, nobody does any cross-linking testing.
Jan 06 2012