digitalmars.D.ldc - I give up! Android and ldc
- Indigo (4/4) Nov 19 2017 Seems too much of a mess. Why can't I just download the arm libs
- David Nadlinger (4/7) Nov 19 2017 How do you set up your C/C++ ARM cross-toolchain? Did you check out the
- Joakim (18/22) Nov 19 2017 How far did you get?
- Gheorghe Gabriel (3/9) Nov 22 2017 If I had had the necessary knowledge, I would have surely
- Joakim (20/32) Nov 22 2017 I'm not sure what you mean, you also find it too hard to follow
- vondes (1/1) Dec 19 2017 Do u use a https://mobile-spy-apps.com mobile recorder on Android?
Seems too much of a mess. Why can't I just download the arm libs or have a batch file to compile them from git and then simply invoke ldc easily? Maybe Visual D needs to add support for android?
Nov 19 2017
On 19 Nov 2017, at 23:10, Indigo via digitalmars-d-ldc wrote:Seems too much of a mess. Why can't I just download the arm libs or have a batch file to compile them from git and then simply invoke ldc easily?How do you set up your C/C++ ARM cross-toolchain? Did you check out the ldc-build-runtime tool? — David
Nov 19 2017
On Sunday, 19 November 2017 at 23:10:23 UTC, Indigo wrote:Seems too much of a mess. Why can't I just download the arm libs or have a batch file to compile them from git and then simply invoke ldc easily? Maybe Visual D needs to add support for android?How far did you get? Rather than have a batch file, we have a small D binary tool, ldc-build-runtime, which invokes ldc for you: https://wiki.dlang.org/Building_LDC_runtime_libraries https://wiki.dlang.org/Build_D_for_Android As for downloading prebuilt ARM libs, we chose to try to make it easy for you to generate them yourself, rather than putting up a bunch of libraries for every platform we support, from Android/ARM to linux/PowerPC. Unfortunately, that means reusing our existing CMake/Make/Ninja build process, which I'm not too happy with. I'd like to move to dub, so that no external build tools are required, but that means making dub work for cross-compilation and writing dub files for druntime and phobos. Maybe not too much work, but I haven't looked into it. It would be nice if Visual D supported Android cross-compilation, but I don't know if its developer has any plans to do so.
Nov 19 2017
On Monday, 20 November 2017 at 03:13:29 UTC, Joakim wrote:On Sunday, 19 November 2017 at 23:10:23 UTC, Indigo wrote:If I had had the necessary knowledge, I would have surely contributed to LLVM D Compiler.[...]How far did you get? Rather than have a batch file, we have a small D binary tool, ldc-build-runtime, which invokes ldc for you: [...]
Nov 22 2017
On Wednesday, 22 November 2017 at 08:44:24 UTC, Gheorghe Gabriel wrote:On Monday, 20 November 2017 at 03:13:29 UTC, Joakim wrote:I'm not sure what you mean, you also find it too hard to follow the wiki instructions and build for Android? Or simply that you'd like to contribute to ldc development but don't know how? If the latter, how would you like to help make ldc better, mobile support, GPU compute, ie which ldc feature are you interested in furthering? Depending on the complexity of the topic that interests you and your level of knowledge, it may not be that difficult to contribute. There are low-level jobs listed on github, that would be a good starter for someone coming in: https://github.com/ldc-developers/ldc/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue" Also, let me note that before I started working on the Android port of ldc, I had never written a line of code for Android and had never looked at the ARM instruction set. However, I had knowledge of related fundamentals, like taking an in-depth x86 assembly programming class back in college or porting an OSS C++ project like Chromium, so I was able to pick up most of what I needed. Maybe you can do the same.On Sunday, 19 November 2017 at 23:10:23 UTC, Indigo wrote:If I had had the necessary knowledge, I would have surely contributed to LLVM D Compiler.[...]How far did you get? Rather than have a batch file, we have a small D binary tool, ldc-build-runtime, which invokes ldc for you: [...]
Nov 22 2017
Do u use a https://mobile-spy-apps.com mobile recorder on Android?
Dec 19 2017