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