On Fri, Oct 22, 2010 at 10:40:50AM +0200, Mariano Martinez Peck wrote: > On Fri, Oct 22, 2010 at 10:33 AM, Friedrich Dominicus < > [email protected]> wrote: > > > Mariano Martinez Peck <[email protected]> writes: > > > > > On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus < > > > [email protected]> wrote: > > > > > > Friedrich Dominicus <[email protected]> writes: > > > > > > > "Schwab,Wilhelm K" <[email protected]> writes: > > > > > > > >> I haven't had much trouble with it. You can look in the inbox for > > > >> Migrate (for how I load it) and the DolphinCompatibility package > > for > > > >> things that I have added to the ODBC support. > > > > Are there any usage examples for ODBC and Pharo or is it go out and > > find > > > > out yourself? And another maybe stupid question has anyone used it > > for > > > > accessing .mdb databases from MS-Access? > > > Ok i'm probabla currently a bit confused. AFAIKT the Pharo I've > > running > > > here is 32-bit. My machine however is a 64-bit System, so to use the > > > unixodbc I probably would need the 32-bit version of the unixodbc > > > driver. Is that correct? > > > > > > > > > Yes. Exactly. To compile ODBC you may want to try something like we did > > in > > > SqueakDBX: > > > > > > http://www.squeakdbx.org/SqueakDBX%20in%2064%20bits > > Thanks my confusion has not last that long. I just was puzzling why isql > > does connect but Pharo won't. Sure the reason is clear, but it has > > catched me. Fine, I'm trying to get unixodbc compiled an installed on my > > 64 bit box. I just wonder has anyone build a 64-bit Pharo? > > > > More or less. Because you need: a 64 bits VM, and a 64 bits image as much as > I understand. > In addition, there are certain bugs in FFI about using it in 64 bits. >
Details here: http://bugs.squeak.org/view.php?id=7237 FFI can be made to work on 64-bits but it is difficult and complicated, so if you are just trying to get ODBC working you should stick with 32 bit binaries. Dave _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
