Building LDC for the first time

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Aug 26 03:57:50 PDT 2014


On Tuesday, 26 August 2014 at 08:36:26 UTC, Daniel N wrote:
> On Tuesday, 26 August 2014 at 08:06:40 UTC, Daniel N wrote:
>> On Monday, 25 August 2014 at 16:26:33 UTC, Kai Nacke wrote:
>>> Hi Daniel,
>>>
>>> I could not verify the second issue - but I only tried after 
>>> fixing the linker issue. I have to use VS 2013 soon as LLVM 
>>> project discusses to raise the minimum VS version to 2013 for 
>>> version 3.6
>>>
>>> Regards,
>>> Kai
>
> PS I found the bug:
> \ldc_master\driver\main.cpp
>
> OLD Code:
> #if LDC_LLVM_VER >= 306
>             if 
> (global.params.targetTriple.isWindowsGNUEnvironment())
>             {
>                 
> VersionCondition::addPredefinedGlobalIdent("mingw32"); // For 
> backwards compatibility.
>                 
> VersionCondition::addPredefinedGlobalIdent("MinGW");
>             }
> Working Code:
> #if LDC_LLVM_VER >= 305
>
> Best Regards,
> Daniel N

Thanks for debugging! I commit this asap.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list