gcc is currently required for dmd on FreeBSD, as dmd links to libstdc++.
Parts of dmd are still written in C++ but most of it was converted recently. More on that here:
"DMD backend now in D" https://forum.dlang.org/thread/psaekt$tah$1...@digitalmars.com