Android build can't link _d_array

Kris Dawson gnerdthe1 at gmail.com
Wed Sep 19 09:12:51 PDT 2012


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?


More information about the D.gnu mailing list