January 06, 2012
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.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 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


January 06, 2012
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.