summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-02 03:43:47 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-02 03:43:47 (GMT)
commitc900bc628fafa157aa2f45e0d387563a6a19819e (patch)
tree189b34d9978362a491a8363f098638423146d635 /README.md
parent679ae1304e7d1318c2c1e3b8b4f4f974ea061f0f (diff)
update README with cross-build instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
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
contact: Jan Huwald // Impressum