digitalmars.D.announce - LDC for iOS
- Dan Olson (15/15) Feb 26 2015 I think this all is in good enough shape that someone else should give
- Jacob Carlborg (5/7) Feb 26 2015 Awesome work. I could successfully compile the compiler and compile
- Dan Olson (3/6) Feb 26 2015 Thanks Jacob!
- Chris (7/30) Feb 27 2015 Thank you very much! Although I cannot test it right now (working
- makedgreatagain (7/43) Jun 20 2018 Hi Dan Olson,
I think this all is in good enough shape that someone else should give it a try. https://github.com/smolt/ldc-iphone-dev This is an LDC development sandbox for iPhone iOS. It glues together various pieces needed to build an LDC cross compiler targeting iPhoneOS. It also includes a few samples to show how to get started. The compiler and libraries are in good enough shape to pass the druntime/phobos unittests with a few minor test failures (see project README.md). This means someone could, if so inclined, build their D library and use it in an iOS App. Currently based on LDC 0.15.1 (DMD v2.066.1) and LLVM 3.5.1. There are no prebuild binaries, so you have to do it yourself. Nobody has reported yet on trying to build beside me, so there may be potholes. Enjoy, Dan
Feb 26 2015
On 2015-02-26 19:34, Dan Olson wrote:I think this all is in good enough shape that someone else should give it a try.Awesome work. I could successfully compile the compiler and compile Hello World without any problems. I did not try running it on an a device. -- /Jacob Carlborg
Feb 26 2015
On Thursday, 26 February 2015 at 19:26:07 UTC, Jacob Carlborg wrote:I could successfully compile the compiler and compile Hello World without any problems. I did not try running it on an a device.Thanks Jacob!
Feb 26 2015
On Thursday, 26 February 2015 at 18:35:00 UTC, Dan Olson wrote:I think this all is in good enough shape that someone else should give it a try. https://github.com/smolt/ldc-iphone-dev This is an LDC development sandbox for iPhone iOS. It glues together various pieces needed to build an LDC cross compiler targeting iPhoneOS. It also includes a few samples to show how to get started. The compiler and libraries are in good enough shape to pass the druntime/phobos unittests with a few minor test failures (see project README.md). This means someone could, if so inclined, build their D library and use it in an iOS App. Currently based on LDC 0.15.1 (DMD v2.066.1) and LLVM 3.5.1. There are no prebuild binaries, so you have to do it yourself. Nobody has reported yet on trying to build beside me, so there may be potholes. Enjoy, DanThank you very much! Although I cannot test it right now (working mainly on Linux), I will soon give it a go, because we've been asked several times whether one of our apps will be available on the iPhone/iPad one day. This is very important work and, again, I thank you for your efforts.
Feb 27 2015
On Friday, 27 February 2015 at 11:11:36 UTC, Chris wrote:On Thursday, 26 February 2015 at 18:35:00 UTC, Dan Olson wrote:Hi Dan Olson, This is very great work but the ldc version is too old. I try patch it into last ldc master branch get a lot error(thanks Joakim for a lot help). Can you help to check what need to be modify to made it buildable ? (It require modify some file like abi-ios* to work).I think this all is in good enough shape that someone else should give it a try. https://github.com/smolt/ldc-iphone-dev This is an LDC development sandbox for iPhone iOS. It glues together various pieces needed to build an LDC cross compiler targeting iPhoneOS. It also includes a few samples to show how to get started. The compiler and libraries are in good enough shape to pass the druntime/phobos unittests with a few minor test failures (see project README.md). This means someone could, if so inclined, build their D library and use it in an iOS App. Currently based on LDC 0.15.1 (DMD v2.066.1) and LLVM 3.5.1. There are no prebuild binaries, so you have to do it yourself. Nobody has reported yet on trying to build beside me, so there may be potholes. Enjoy, DanThank you very much! Although I cannot test it right now (working mainly on Linux), I will soon give it a go, because we've been asked several times whether one of our apps will be available on the iPhone/iPad one day. This is very important work and, again, I thank you for your efforts.
Jun 20 2018