[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Are sub-versions now binary-compatible?

Eric Promislow

3/23/2007 5:50:00 PM

I found I had to build separate versions of a binary library to run on
1.8.2 and 1.8.4

Do versions 1.8.4 and 1.8.5 also have binary incompatibilities? Is
there a test suite
around i could use?

Thanks,
Eric

3 Answers

Eric Hodel

3/27/2007 8:16:00 PM

0

On Mar 23, 2007, at 10:50, Eric Promislow wrote:

> I found I had to build separate versions of a binary library to run on
> 1.8.2 and 1.8.4

Which library?

> Do versions 1.8.4 and 1.8.5 also have binary incompatibilities? Is
> there a test suite around i could use?

Depends on the library. Some can be used cross version, others can't.

ParseTree refuses to work on a library other than the one it was
built on. I've had no luck running ImageMagick on multiple ruby
versions either.

Rick DeNatale

3/28/2007 4:24:00 PM

0

On 3/23/07, Eric Promislow <eric.promislow@gmail.com> wrote:
> I found I had to build separate versions of a binary library to run on
> 1.8.2 and 1.8.4
>
> Do versions 1.8.4 and 1.8.5 also have binary incompatibilities? Is
> there a test suite
> around i could use?
>
> Thanks,
> Eric

Well, you might do a diff on any included files.

diff ruby1.8.4/ruby.h ruby1.8.5/ruby.h shows that there ARE
differences, which would indicate to me that it's probably not wise to
count on binary compatibility.


--
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denh...

IPMS/USA Region 12 Coordinator
http://ipmsr12.denh...

Visit the Project Mercury Wiki Site
http://www.mercuryspace...

Ara.T.Howard

3/28/2007 4:37:00 PM

0