Try a VMWARE virtual machine.
Install a FreeBSD distro and as long as the hardware (CPU) is the same you
should be good.
Even targeting a different hardware platform might be easier inside a VM.
Inside the VM you can save temp files and capture compiler, assembler and
linker settings to
Chip away
Newb here. I'm in over my head. Using a Win10/amd64 PowerShell with Go
v1.12.6. Trying to cross-compile
to FreeBSD/amd64. go env = GOARCH=amd64 & GOOS=freebsd. Source includes
calls to SQLite3. Compiles
without errors.
Resulting binary fails on FreeBSD with: "Can't connect to the SQLite DB