Permalink
Browse files

add windows building instructions

  • Loading branch information...
copiousfreetime committed Mar 13, 2013
1 parent 643cedd commit 6f26b42ab3129dff612222f01d5ff5b26467a98e
Showing with 19 additions and 0 deletions.
  1. +19 −0 README.md
View
@@ -37,6 +37,25 @@ Amalgalite adds in the following additional non-default SQLite extensions:
* [R*Tree index extension](http://sqlite.org/rtree.html)
* [Full Text Search](http://sqlite.org/fts3.html)
+## BUILDING FOR WINDOWS
+
+[rake-compiler](https://github.com/luislavena/rake-compiler) is use for building
+the windows version. For me, on OSX to cross compile the process is:
+
+```
+% gem install rake-compiler # in each rvm instance, 1.8.7, 1.9.3
+% rvm use 2.0.0@amalgalite
+% rake-compiler cross-ruby VERSION=2.0.0-p0 # or latest
+% rvm use 1.9.3@amalgalite
+% rake-compiler cross-ruby VERSION=1.9.3-p374 # or latest
+% rvm use 1.8.7@amalgalite
+% rake-compiler cross-ruby VERSION=1.8.7-p371
+
+# This only works via 1.8.7 at the current moment
+% rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0
+```
+
+
## CREDITS
* Jamis Buck for the first [ruby sqlite implementation](http://www.rubyforge.org/projects/sqlite-ruby)

0 comments on commit 6f26b42

Please sign in to comment.