[dmd-beta] dmd 1.063 and 2.048 beta

Walter Bright walter at digitalmars.com
Mon Aug 9 13:41:38 PDT 2010



Walter Bright wrote:
>
>
> Don Clugston wrote:
>> Try going into bigintx86, and replacing "D_PIC" with "all". If the
>> failing tests pass, that's the problem. And unless OSX has a concept
>> of PIC, I think OSX should define D_PIC at all times.
>>
>>   
>
> PIC should be always on for OSX, and it's a bug if the version thing 
> is not set for it.
>

I checked, D_PIC is always set under OSX. In mars.c:

#if TARGET_OSX
    global.params.pic = 1;
#endif

[...]

    if (global.params.pic)
        VersionCondition::addPredefinedGlobalIdent("D_PIC");


More information about the dmd-beta mailing list