Building pcb for Windows with a MinGW cross-compiler requires:
- Install a MinGW cross-compiler.
On Debian and derivatives, you can type 'sudo apt-get install
mingw32.'.
You can also build your own by using the build script provided by the
MinGW project.
On NetBSD use the cross/mingw package.
- Install native (non-cross) dependencies.
- autoconf
- automake
- libtool
- gettext
- intltool
- glib
- gtk+
- wget (used for fetching tarballs)
- wine (the tiff build fails without it)
- Edit the w32/minipack.conf file to suit your compiler setup.
FIXME -- can we make this take arguments?
- Copy the pcb tarball to w32/sources
- Enter the w32 directory and run ./build_all.
- Wait while the script fetches and compiles the PCB dependencies and
PCB itself.
- Run the result with wine: wine result/bin/pcb.exe
NOTE: This didn't work for me but copying everything to an actual
windows machine worked.
- Copy the result directory to a Windows installation (packaging
script is not supplied).