Android build can't link _d_array

Iain Buclaw ibuclaw at ubuntu.com
Wed Sep 19 09:30:32 PDT 2012


On 19 September 2012 17:12, Kris Dawson <gnerdthe1 at gmail.com> wrote:
> I expermented with building D for Android within a Debian chroot. I was able
> to get D to build with GCC 4.7.1 under ARM. I went to compile a test program
> with D   using the _Dmodule_ref shim and nophoboslib flag, however in
> testing argv[0] to printf output, the linker said it couldn't reference the
> _d_array_1 function or something similar. I deleted the compiler out of
> frustation (I spent a week getting it to build on arm). Did I have to
> manually link gdruntime.a in afterthought?


I would say no.  But without a copy of the build, is not easy to tell.


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list