Am Tue, 06 Aug 2019 05:13:11 +0000 schrieb Cecil Ward: > I have a raspberry pi 3B+ running raspbian stretch 32-bit with a > containerised guest o/s inside it using systemd-nspawn, the guest o/s > being AAarch64 Debian Buster. > > Inside AAarch64 Debian Buster, I run the following from the shell and > get an error from the gdc compiler: > > root@debian-buster-64:~# gdc -O3 -frelease -S test.d cc1d: error: > cannot find source code for runtime library file 'object.d' > cc1d: note: dmd might not be correctly installed. Run 'dmd -man' for > installation instructions. > > (null):0: confused by earlier errors, bailing out > root@debian-buster-64:~# > > Any clues as to where I should head from here?
You're probably missing libgphobos-dev. However, I think on debian buster there is no arm64 port of libgphobos-dev yet. Testing seems to have libgphobos-9-dev with arm64 support. If you want to use buster though, you probably have to build gcc by yourself. Just get the gcc 9 sources and use ./configure --enable-languages=d when configuring gcc. -- Johannes