Does anyone build for Android? Tons of link errors..

kinke noone at
Thu Feb 17 01:17:51 UTC 2022

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 

More information about the Digitalmars-d-learn mailing list