title: gousb Cross compile from MacOS to Windows
body: <p>I'm using the gousb package to print to a USB POS printer. It works great on MacOS. I need to cross-compile to Windows 10. Gousb is written in C so cross-compile requires gcc. I've got everything installed but I get an error that I don't know how to fix.</p>
  <p>I installed libusb-1, gcc, and mingw-w64 using homebrew.</p>
  <p>Here is the command I run:<br />
  <code>GOOS=windows GOARCH=386 CGO_ENABLED=1 CXX=i686-w64-mingw32-g++ CC=i686-w64-mingw32-gcc go build -o bin/fsrestposprint/fsrestpostprint.exe main.go</code></p>
  <p>I get this response:<br />
  <code>github.com/google/gousb</code><br />
  <code>/usr/local/Cellar/mingw-w64/8.0.0/toolchain-i686/bin/i686-w64-mingw32-ld: /usr/local/Cellar/libusb/1.0.23/lib/libusb-1.0.a: error adding symbols: file format not recognized</code><br />
  <code>collect2: error: ld returned 1 exit status</code></p>
  <p>Any ideas on how to fix this?</p>