Excerpts from Jeff Law's message of November 30, 2020 2:16 am: > > > On 11/28/20 9:04 AM, Iain Buclaw via Gcc-patches wrote: >> Hi, >> >> This patch adds the necessary version conditions and configure rules in >> place to allow building the D compiler on FreeBSD. >> >> Running the testsuite on both i386 and x86_64, all tests except for one >> passes (gdc.test/runnable/test17338.d, though the problem appears to be >> the linker producing a corrupt object). >> >> OK for mainline? >> >> Regards >> Iain >> >> --- >> gcc/ChangeLog: >> >> * config.gcc (*-*-freebsd*): Add freebsd-d.o and t-freebsd. >> * config/freebsd-d.c: New file. >> * config/t-freebsd: New file. >> >> libphobos/ChangeLog: >> >> * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as >> supported targets. > OK > jeff >
Thanks. I've just noticed that there's PR 87818 (D runtime does not build on FreeBSD), so I've committed the patch referencing that PR in the changelog entry. Iain.