Weird thing about building ldc under VS2013 x86

Toby Chen via digitalmars-d-ldc digitalmars-d-ldc at
Fri Sep 26 08:12:28 PDT 2014

On Friday, 26 September 2014 at 05:53:17 UTC, Kai Nacke wrote:
> Hi Toby!
> On Friday, 26 September 2014 at 01:22:59 UTC, Toby Chen wrote:
>> It seems like it intends not to specify the runtime library 
>> when compiling under Win32, which caused isnan(XXX); to be 
>> undefined.
>> I noticed that the wiki page explicitly points out that I have 
>> to have "Windows 7 x64, of course!". Is it intentional to 
>> prevent me from building under x86?
> LLVM does not support exception handling on Windows with MSVC 
> runtime. Therefore nobody has tried to use LDC with x86 on 
> Windows because a major feature is missing.
> If you like to work on the druntime/phobos issues I am happy to 
> accept pull request. But if you need a working compiler you 
> should resort to the MinGW version.
> Regards,
> Kai
Hi Kay,
Thank you for such a quick reply!
I have successfully built those runtime libraries finally. 
However, some missing symbols were found when I was trying to 
compile helloworld. They seem like due to the missing 
functionality related to inline asm. I'll try to dig into it.

> OT: Why would you have to go with x86? Just curious.
Well, I don't have to. I just feel better with the BSD licensed 
llvm, and llvm works closer to windows ecosystem than gcc. I'm 
just trying it out.

More information about the digitalmars-d-ldc mailing list