FFI & MacOS X

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Jun 11 10:48:37 UTC 2004


On 10/06/04 13:02, "Diego Tiscornia" <diegobt at hotmail.com> wrote:

> John M McIntosh writes:
>> 
>> I'm sure I read somewhere is that the function call we make to get the
>> address for a function name
>> doesn't care if it's a bundle or dylib, or something. It does the right
>> thing to resolve the address.
>> 
>> On Jun 9, 2004, at 10:28 PM, diego bart wrote:
>> 
>>> In order to test I wrote a small example and compiled it both .bundle
>>> and .dylib following apple examples. I get the message "cannot find
>>> function
>>> address".I can use them from C via the NS way (bundle) and linking to
>>> a dylib,
>>> but cant get sq to find the symbols :(
> 
> 
> Hi thank you for answering.
> 
> I already had SqueakFFIPrims.bundle.
> I think it came with the Carbon version, and the FFI examples work,
> but I can't get anything else to work with it :(
> I think I would get the "no function callout mechanism available"
> (or similar) exception hadn't I gotten the lib,
> at least this is what happens when you delete it.
> 
> Anyway I just in case downloaded the version you mentioned,
> but it doesnt work either :(
> 
> 
> 
> 
> 
> 
Diego:
Try this pre - alpha and thanks to John M McIntosh for clues to me.
In a week end I try to complete Quickdraw api and do some tutorial and add
to minnow.
You can email me diret to edgardec2003 at ciudad.com.ar.

Edgar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 22955 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040611/d8b1dd64/attachment.obj


More information about the Squeak-dev mailing list