This post for Developers, Linux enthusiast who are willing to build any BSD on linux .
The Post will be a Wiki type post
the Main aim to teach and reach out to maximum people about BSD
This list is created according to ease of building the OS
NetBSD:
It uses GCC as base compiler.
GCC
You create this OS on normal Ubuntu/Debian derivative OS according to this article: https://www.cambus.net/cross-building-netbsd-on-linux/
FreeBSD:
It uses Clang as base compiler.
It can use GCC for building , but preferred way is using clang
Building on non-FreeBSD Hosts
Clone this repo
After uncompresing the tarball,replaced in "sys/conf/files" the variable RPCGEN_CPP='${CPP}' with the binary of your gcc compiler.
For example: RPCGEN_CPP=/usr/bin/gcc-10
and run the commands according to freebsd doc
Other BSD are yet to be compiled on linux as they lack some or don't want to be built on linux