summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Lavena <luislavena@gmail.com>2010-09-21 20:19:28 -0300
committerLuis Lavena <luislavena@gmail.com>2010-09-21 20:19:28 -0300
commit68be722108da8befdc91519866c95227fff5c823 (patch)
treead0a2c8d7632ac9a6dff7546e42304f16bb0ee78
parent687f6c457adad2dfc19833a3a0bdf30750aa9129 (diff)
downloadrake-compiler-68be722108da8befdc91519866c95227fff5c823.tar.gz
Added some documentation to HOST option
-rw-r--r--History.txt2
-rw-r--r--README.rdoc9
2 files changed, 11 insertions, 0 deletions
diff --git a/History.txt b/History.txt
index 6480836..f6a4076 100644
--- a/History.txt
+++ b/History.txt
@@ -11,6 +11,8 @@
of mingw-w64 compiler and not the first one found in the PATH.
rake-compiler cross-ruby VERSION=1.9.2-p0 HOST=i686-w64-mingw32
+ rake-compiler cross-ruby HOST=i386-mingw32 (OSX mingw32 port)
+ rake-compiler cross-ruby HOST=i586-pc-mingw32 (Debian/Ubuntu mingw32)
=== 0.7.1 / 2010-08-07
diff --git a/README.rdoc b/README.rdoc
index 21ba97f..cedf1de 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -221,6 +221,15 @@ supply a <tt>VERSION</tt>:
rake-compiler cross-ruby VERSION=1.8.6-p114
+If you, like me, have multiple versions of MinGW packages, you can specify the
+HOST that will be used to cross compile ruby:
+
+ rake-compiler cross-ruby HOST=i386-mingw32 # (OSX mingw32 port)
+
+The host will vary depending on provider (mingw32 versus mingw-w64 projects).
+Consult the documentation and website of the MinGW package provider before
+reporting any issue.
+
=== Let's build some gems!
Now, you only need to use additional options in your extension definition: