OS X 10.6 + 64bit Ruby + 32bit database?

P

Phillip Gawlowski

Is this combination a no-no? What issues do I expect to come across?

If the DB adapter is pure Ruby, you shouldn't have any issues. If the
adapter compiles a native extension, you could run into compilation
issues (which ones exactly, I'm not sure; I guess anything with
pointers could lead to issues). If the adapter compiles to a 32 bit
executable (or is binary), you could run into linking/loading issues
(no idea if *NIX can load 32 bit shared objects into 64 bit
executables).
I'm using
http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard
to compile Ruby, but I can't make it compile to 32-bit. What flags
should I use to compile 32bit Ruby?

Google gives: http://stackoverflow.com/questions/...gure-to-compile-32-bits-executable-on-64-bits

--
Phillip Gawlowski

Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,147
Latest member
CarenSchni
Top