From c900bc628fafa157aa2f45e0d387563a6a19819e Mon Sep 17 00:00:00 2001 From: don bright Date: Wed, 1 Aug 2012 22:43:47 -0500 Subject: update README with cross-build instructions diff --git a/README.md b/README.md index ffb6b6e..8bc9135 100644 --- a/README.md +++ b/README.md @@ -164,9 +164,22 @@ After that, follow the Compilation instructions below. ### Building for Windows OpenSCAD for Windows is usually cross-compiled from Linux. If you wish to -attempt an MSVC build, please see this site: +attempt an MSVC build on Windows, please see this site: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Windows +To cross-build, first make sure that you have development tools +installed to get GCC. Then after you've cloned this git repository, run +the script that sets up the environment variables. + + source ./scripts/setenv-mingw-xbuild.sh + +Then run the script to download & compile all the prerequisite libraries above: + + ./scripts/mingw-x-build-dependencies.sh + +After that, follow the Compilation instructions that are printed at the +end of the script (not the ones below). + ### Compilation First, run 'qmake' from Qt4 to generate a Makefile. On some systems you need to -- cgit v0.10.1