From: David B. <dav...@gm...> - 2011-05-01 20:20:13
|
Hi, t4k_common has been added to the mingw-cross-env project, so it is now even easier to create the cross-built win32 package for tuxmath on Linux. Since t4k_common was just added, you need to get the development version of mingw-cross-env from that project's mercurial repo: http://mingw-cross-env.nongnu.org/#development Make sure you have the needed tools installed on your system: http://mingw-cross-env.nongnu.org/#requirements Then simply run: hg clone http://hg.savannah.nongnu.org/hgweb/mingw-cross-env cd mingw-cross-env make t4k_common and the complete cross-build setup will be downloaded and installed. Then just go to buildw32/ in your tuxmath git clone. In cross-configure.sh, look at MINGW_DIR and make sure it matches the location where you installed mingw-cross-env (the default is /opt/mingw-cross-env). Then simply run (from buildw32/): ./tmwin.sh and the win32 installer should be automatically built. You need NSIS to generate the installer file, so you might need to run "sudo apt-get install nsis" or an equivalent. That's it - it should now be really simple for anyone to make and test the win32 crossbuilds. Best, David Bruce |