On Thursday, 12 November 2015 at 02:51:46 UTC, Jakob Ovrum wrote:
The issues I had came with using the 64-bit NDK - it worked as explained in the article once I switched to the 32-bit NDK. The issue appeared to be with the linker: /usr/bin/ld.bfd would complain that it was not configured for --sysroots. Changing to --fuse-ld=mcld revealed further issues. Perhaps the wiki article should recommend the 32-bit NDK until these issues are figured out.

I recently signed up for a linux/x64 VPS, so I've put a linux/x64 cross-compiler build at the above github link. You'll need to set a NDK_ARCH environment variable to x86_64, to use the 64-bit NDK with the updated ldc patch and sample commands from the wiki. I don't package libconfig with this one, so it will need to be installed in the system, along with zlib.

I had no problem with the 64-bit NDK once I made these changes, let me know if this works for you. Your problem could be because it's trying to use the system linker at /usr/bin/ld.bfd, rather than the one that came with the NDK?

Reply via email to