iphone + LDC, a new ARM adventure

Kai Nacke kai at redstar.de
Sat Feb 1 13:49:19 PST 2014


Hi Dan!

On Thursday, 30 January 2014 at 16:56:05 UTC, Dan Olson wrote:
>
> If ldc2 skips the backend phase, it can generate IR (option 
> -output-ll)
> just fine for iOS target -mtriple=thumbv7-darwin.  Then 
> question is, can
> we use llc to do the backend codegen?  Like this:
>
>   ldc2 -output-ll   [target and compile options]
>   llc -filetype=obj [similar target and compile options]
>
> It works!  Could I compile all of druntime this way? Yes!  Will 
> it
> run on an iPhone?  Yes again.

This sounds like a great step forward! Congratulations!

I think I found the root cause why ldc crashes. I fixed it in the 
merge-2.064 branch. If you like to try it...

Regards,
Kai


More information about the digitalmars-d-ldc mailing list