My Android project nearing beta

kinke kinke at gmx.net
Wed Dec 18 12:39:22 UTC 2019


On Tuesday, 17 December 2019 at 23:18:33 UTC, H. S. Teoh wrote:
> I struggled a bit to get Windows build working, for example, 
> because I didn't know the exact pattern to put in ldc2.conf at 
> first. I tried various combinations that didn't work until I 
> accidentally landed upon "x86_64-.*-windows.msvc" (the Wiki 
> page was confusing; it's either outdated or incomplete, as I 
> was trying "i686-.*-windows.*" to no avail).

The Wiki page specifies `x86_64-.*-windows-msvc`, all good.

> This is awesome stuff.  My current Android still uses Joakim's 
> old guide that involves manually specifying a lot of stuff like 
> explicit linker options, library and SDK paths, etc., on the 
> command line. True, I only had to do it once and thereafter 
> just put it in the build script, but having a standard 
> automated scheme to abstract away such details would make it a 
> lot more pleasant to use.

Yeah, that Wiki page needs to be updated, and the outlined tool 
would have to be implemented. ;) - Luckily, it should be rather 
simple to implement and doesn't require knowledge about LDC's 
inner workings (=> I'd rather spend my time elsewhere, don't 
count on me/the LDC team).

And wrt. Android, we're still not running any CI tests 
whatsoever, the only thing that is checked is compilability (and 
linkability of the native LDC Android builds), so that's also 
something that needs to be added before we can claim to have 
Android support. Reworking the TLS initialization and enabling 
full support for shared druntime/Android, as mentioned by Joakim 
in the Wiki page, is also still on the table.


More information about the Digitalmars-d-announce mailing list