<br><br><div class="gmail_quote">On Fri, Jan 18, 2013 at 6:32 AM, Göran Krampe <span dir="ltr">&lt;<a href="mailto:goran@krampe.se" target="_blank">goran@krampe.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks!<br>
<br>
Just want to check with you guys how we are on the 64 bit VM front.<br>
<br>
I have a dynamic library that is 64 bits that I want to call using FFI (any FFI!). AFAICT this is a big no, no. NB FFI doesn&#39;t do 64 bits, well, in fact NB is only available in Cog and Cog is only available in 32 bits, right?<br>

<br>
And even if Cog was available in 64 bits (Eliot?) I guess the NB FFI would need work to function in 64 bits too?<br>
<br>
Ok, so what about the standard VM 64 bit? It doesn&#39;t seem to have a working FFI plugin, so no go.<br>
<br>
I do not think I can get the lib in 32 bits (but I have asked upstream) it is the libhyperclient.so for HyperDex (<a href="http://www.hyperdex.org" target="_blank">www.hyperdex.org</a>).<br>
<br>
Could someone confirm the above or tell me about any other reasonable route?<br></blockquote><div><br></div><div>I think all you said is correct, unfortunately. </div><div>The only solution I can think so far is what we always do: compile yourself the library (hyperdex in this case) forcing it to compile in 32 bits (send the correct flags for compilation). But of course, if the library is intended to only work in 64 bits...then this doesn&#39;t work. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
regard, Göran<br>
<br>
PS. One way would be to write some wrapper around the lib in C and communicate with it by some other means - like stdin/stdout etc. But... uuuugly. :)<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>