-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

K. wrote:
| I've downloaded rubyscript2exe, and:
|
| $ ruby rubyscript2exe.rb HelloWorld.rb
|
| will create a file called HelloWorld_linux which runs on linux.
|
| The problem is that I'm trying to make a single .exe for windows
| users.
|
| I rm -rf'd the script, and then used ruby gems to install
| rubyscript2exe (although it was stored only on my /var partition and
| had to be moved to my /usr/local/bin) and it produced the same result.


Compile Ruby with the MinGW32 cross compiler tools. AS to how to obtain
it, check your distro (`yum install mingw32-tools`, or some such thing).

The wxWidgets (*not* the wxRuby folks!) have an entry on how to use
MinGW32 to compile a windows binary:

See http://wiki.wxwidgets.org/Cross-Compiling_Under_Linux

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan

~   The purpose of writing is to inflate weak ideas, obscure pure
reasoning, and
inhibit clarity. With a little practice, writing can be an intimidating and
impenetrable fog!  -- Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgBnY0ACgkQbtAgaoJTgL9VGQCgm/zKbRrtqB8dT5gXUaKJhCQo
0C0An1UBwn6YoYq6G2jswiyS6QCphjgd
=M/qF
-----END PGP SIGNATURE-----