Compiling druntime on ldc2 - Win 8 x64

Kai Nacke kai at redstar.de
Tue May 14 20:30:06 PDT 2013


On 25.01.2013 20:00, Sebastian Graf wrote:
> On Friday, 25 January 2013 at 18:37:09 UTC, Kai Nacke wrote:
>> On 25.01.2013 19:31, Sebastian Graf wrote:
>>> On Friday, 25 January 2013 at 18:25:37 UTC, Kai Nacke wrote:
>>>
>>> The workaround works like a charm... But I had to checkout
>>> ldc-merge-2.061 to get the libraries to work. That caused me minor
>>> headaches, but now I'm aware of what are the responsiblities (such as
>>> x64 support) of which repository...
>>> I can now INSTALL it, building a hello world app fails however due to
>>> linker errors in std.math, probably because I forgot to patch. I realize
>>> now that I should have checked out ldc-merge-2.061-2.
>>
>> Yes, the ldc-merge-2.061-2 is the right one.
>> You might still get linker errors because of undefined math functions.
>> (You could also try the pull request by kinke which implements even
>> more std.math functionality.)
>> A "hello world" application should work.
>>
>> Kai
>
> I have yet to checkout that commit, but my specific linker error is
> regarding yl2x, which is not in ldc.intrinsics either. Without it, my
> hello world won't link... Any suggestions besides a clean build?

Try to add an empty function "real yl2x(real x, real y)" to longdouble.d

Kai


More information about the digitalmars-d-ldc mailing list