This whole area we have got to fix or .dll/.so support is fairly meaningless.  
The compilers output need to be
interoperable.

On 1/6/2012 10:05 AM, Sean Kelly wrote:
> From an ABI perspective, I know GDC used to not pass the first function 
> argument in EAX on x32 (ie. the calling convention for extern (C) and extern 
> (D) were identical).  I imagine this is still true, but one of the GDC folks 
> would have to say for sure.  The goal however is certainly to make the ABI 
> sufficiently detailed that what you're saying would work.
> 
> On Jan 6, 2012, at 9:42 AM, Russel Winder wrote:
> 
>> On Fri, 2012-01-06 at 09:30 -0800, Sean Kelly wrote:
>>> No. Each has a separate runtime, etc. 
>>
>> OK, thanks.
>>
>> I had sort of been hoping that because DMD and GDC can both compile to
>> object code that can be linked with GCC that there might be a hope of
>> interworking.  But it seems that the link-time libraries required for
>> DMD and GDC compiled objects is different and incompatible.
>>
>>
>>> Sent from my iPhone
>>>
>>> On Jan 6, 2012, at 6:29 AM, Russel Winder <rus...@russel.org.uk> 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?
>>>>
>>>> Thanks.
>>>>
>>>> -- 
>>>> Russel.
>>>> =============================================================================
>>>> Dr Russel Winder      t: +44 20 7585 2200   voip: 
>>>> sip:russel.win...@ekiga.net
>>>> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@russel.org.uk
>>>> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>>
>> -- 
>> Russel.
>> =============================================================================
>> Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
>> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@russel.org.uk
>> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Reply via email to