On Linux and OSX [-1].pack("l!").size returns 4 for 32-bit rubies, and 8 for 64-bit rubies.
On Windows, it always returns 4. This includes a ruby I built from source using VC 2010
on a 64-bit Win 7 OS, as well as both the 32-bit and 64-bit 2.0.0p0 ruby installers.
This might be relevant:
I built two different versions of ruby_debug.so with the two 2.0.0 rubyinstaller rubies.
ruby 2.0/32 will load only the version built with 2.0/32, and 2.0/64 will load only
the version built with 2.0/64, which is good.
However, the mingw file utility tells me the 32-bit items are "PE32 executable for
MS Windows (console) Intel 80386 32-bit" while the 64-bit items are actually
"PE 32+ executable for MS Windows (console) Mono/.Net assembly". So maybe
they aren't actually true 64-bit files?
This is on Windows7 64-bit mode
--
You received this message because you are subscribed to a topic in the Google Groups "RubyInstaller" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyinstaller/KvE69YuFBe8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to rubyinstalle...@googlegroups.com.
To post to this group, send email to rubyin...@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "RubyInstaller" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyinstaller/KvE69YuFBe8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to rubyinstalle...@googlegroups.com.