MinGW64 Build Instructions

Vladimir Panteleev vladimir at thecybershadow.net
Sun May 29 01:20:12 PDT 2011


On Sat, 28 May 2011 22:46:17 +0300, Daniel Green <venix1 at gmail.com> wrote:

> On 5/28/2011 1:53 AM, Vladimir Panteleev wrote:
>> On Sat, 28 May 2011 06:32:02 +0300, Daniel Green <venix1 at gmail.com>  
>> wrote:
>>
>>> You have to change os_query_staticdataseg in win32.d it's done in the
>>> patch.
>>
>> Thanks, didn't expect that part to be that simple.
>>
>> The next obstacle seems to be _aApplycdzd/_aApplywdzd linking errors. I
>> have no idea where gdc is getting that function name from. It seems to
>> want _aApplycd1 and _aApplywd1 from internal/aApply.d, but I've no idea
>> where the "zd" is coming from.
>
> I think the problem is likely to be the Win64 calling convention.  Win64  
> no longer uses _ prefix for symbol names.  Can dump the symbols for the  
> object file and see if "aApplycdzd" exists?

Pretty sure it's not the calling convention. aApplycdzd exists only in the  
object files for modules which use foreach (dchar c; someString).

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the D.gnu mailing list