1 Building PCB for Windows with a MinGW cross-compiler
3 1) Install a MinGW cross-compiler.
4 On Debian and derivatives, you can type 'sudo apt-get install mingw32.'.
5 You can also build your own by using the build script provided by the
8 On NetBSD use the cross/mingw package.
10 2) Install native (non-cross) dependencies.
14 * libtool, gettext, intltool.
16 * wget (used for fetching tarballs)
17 * wine (the tiff build fails without it)
19 3) Edit the w32/minipack.conf file to suit your compiler setup.
20 FIXME -- can we make this take arguments?
22 4) Copy the pcb tarball to w32/sources
24 5) Enter the w32 directory and run ./build_all.
26 6) Wait while the script fetches and compiles the PCB dependencies and PCB itself.
28 7) Run the result with wine: wine result/bin/pcb.exe
29 [NOTE: This didn't work for me but copying everything to an actual windows machine worked]
31 8) Copy the result directory to a Windows installation (packaging script is not supplied).