[squeak-dev] Re: FFI + Windows + Cygwin

Mariano Martinez Peck marianopeck at gmail.com
Fri Jun 20 04:56:40 UTC 2008


I am sorry, I forgot to tell the real error I have in FFI. When I try to run
a simple test that uses FFI it call externalCallFailed with a message:
"unable to find function address".

thanks in advance,

mariano


On Fri, Jun 20, 2008 at 1:48 AM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

> Hi everybody. I am developing SqueakDBX a openDBX C library. We are using
> FFI to call C functions. OpenDBX has always been compiled in linux and mac.
> But since the last version, it works under Windows using Cygwin or WinGW. I
> could test the library and works well (in windows). It has been generated
> the necessary .dlls. The problem is that theese .dlls files are in
> c:/cygwin/usr/lib/* . And, I can't "see" those functions from FFI.
>
> In FFI I am using apicall instead of cdecl (the one I use under linux).
>
> I have never work with C under linux.
>
> Can someone help me?
>
> thanks,
>
> Mariano
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080620/cd659210/attachment.htm


More information about the Squeak-dev mailing list