Building latest LDC on windows

Temtaime temtaime at gmail.com
Sat Sep 7 09:19:58 PDT 2013


Oh, it's need to rewrite the if in naked.cpp

         if (global.params.targetTriple.getOS() == 
llvm::Triple::MinGW32)
         {
             fullMangle = "_";
         }

To

         if (global.params.targetTriple.getOS() == 
llvm::Triple::MinGW32 || global.params.targetTriple.getOS() == 
llvm::Triple::Win32)
         {
             fullMangle = "_";
         }


More information about the digitalmars-d-ldc mailing list