Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created August 5, 2011 17:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/1128070 to your computer and use it in GitHub Desktop.
Save luislavena/1128070 to your computer and use it in GitHub Desktop.
#1 download mingw-w32-1.0-bin_i686-darwin_20110429.tar.bz2
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/mingw-w32-1.0-bin_i686-darwin_20110429.tar.bz2/download
#2 extract ~/mingw/w32
#3 add ~/mingw/w32/bin to $PATH
#4 rake-compiler cross-ruby HOST=i686-w32-mingw32
#5 profit
@metaskills
Copy link

I bookmarked this awhile back ago when you tweet'ed it to @tenderlove. Is this something that I can find useful for TinyTDS? I about to put the parts on my Lion system again and test cross compiling tiny_tds for the 0.5.0.rc1

@luislavena
Copy link
Author

Yes, this or cross-gcc can work (listed in EventMachine readme)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment