iphone + LDC, a new ARM adventure

Szymon Gatner noemail at gmail.com
Wed Jan 22 08:40:04 PST 2014


On Wednesday, 22 January 2014 at 06:15:11 UTC, Kai Nacke wrote:
> On Tuesday, 21 January 2014 at 19:02:56 UTC, Kai Nacke wrote:
>> This code
>>
>> import ldc.intrinsics;
>>
>> real cos(real x) @safe pure nothrow { return llvm_cos(x); }
>>
>> crashes ldc if compiled with -c -mtriple=armv7-apple-darwin.
>
> My first impression was that it has something to do with the 
> real data type. But it turns out to be a problem with writing 
> the object file.
>
> There seems to be no problem if you specify -output-s or 
> -output-ll, too.
>
> Regards,
> Kai

Slightly OT but I am just really curious: how long do you think 
it will take to make D work on iOS? 3 months? 6? By the end of 
the year? Asking because it is a major argument when convincing 
my managers to switch from C++. I am sooo rooting for you guys!



More information about the digitalmars-d-ldc mailing list