iphone + LDC, a new ARM adventure
Kai Nacke
kai at redstar.de
Tue Jan 21 22:15:08 PST 2014
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
More information about the digitalmars-d-ldc
mailing list