Permalink
Browse files

Added some documentation to HOST option

  • Loading branch information...
1 parent 687f6c4 commit 68be722108da8befdc91519866c95227fff5c823 @luislavena luislavena committed Sep 21, 2010
Showing with 11 additions and 0 deletions.
  1. +2 −0 History.txt
  2. +9 −0 README.rdoc
View
@@ -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
View
@@ -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:

0 comments on commit 68be722

Please sign in to comment.