Android build can't link _d_array

Johannes Pfau nospam at example.com
Mon Sep 24 08:03:30 PDT 2012


Am Sun, 23 Sep 2012 00:15:36 +0200
schrieb "Kris Dawson" <gnerdthe1 at gmail.com>:

> Ok, I checked out a wiki on Raspberry PI in which they got D to 
> compile with GCC 4.8.
> Would compiling D for the armhf Debian image I'm already running 
> on my Android device be able to produce binaries for Android by 
> either statically linking my code (it works for gcc) or by 
> setting the -dynamic-linker flag to Android's linker
> binary and compiling with the appropiate ARM CPU crt object file?

It's probably possible if you link libc statically. But it's usually
not advised to do this, as it has other issues.


More information about the D.gnu mailing list