Re: [go-nuts] Cross-Compile Windows 10 -> FreeBSD

2019-06-12 Thread Tom Mitchell
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

[go-nuts] Cross-Compile Windows 10 -> FreeBSD

2019-06-11 Thread B Carr
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