Does anyone build for Android? Tons of link errors..
fry131313 at gmail.com
Thu Feb 17 03:13:26 UTC 2022
On Thursday, 17 February 2022 at 01:17:51 UTC, kinke wrote:
> On Wednesday, 16 February 2022 at 20:40:02 UTC, Fry wrote:
>> A lot of unresolved references to just CPU_COUNT. The
>> confusing part is that it has undefined referenced to parts of
>> in `core`, which I am linking the druntime as well.
> If you're linking manually, make sure that `-ldruntime-ldc`
> comes *after* `-lphobos2-ldc`, and that your druntime lib has
> been compiled for the appropriate arch. CPU_COUNT is a druntime
> symbol too.
Yes I tried changing the order, it seems like I am getting all
unresolved symbols for D. Including _d_assert, but only when I
use the --no-undefined flag. I have no idea why it is spitting
out so many unresolved references.
More information about the Digitalmars-d-learn