[Openmcl-devel] New interface translator for Leopard (especially)
ron at awun.net
Tue Nov 6 18:26:29 EST 2007
On Nov 6, 2007, at 3:08 PM, Gary Byers wrote:
> On Tue, 6 Nov 2007, Ron Garret wrote:
>> Is there an easy way to use ffigen to import other (non-Apple)
>> libraries? (I'm specifically thinking of libmysql.)
>> I tried the obvious thing:
>> h-to-ffi.sh /usr/local/mysql/include/mysql.h
>> but that didn't seem to do anything (though reverse-engineering one
>> of the populate.sh scripts sure makes it look like it should have).
> I think that it should have created
> ./usr/local/mysql/include/mysql.ffi # in current directory
Ah! There it is. I guess I wasn't expecting it to copy the entire
> The directory structure (darwin-x86-headers64/*/C) does matter
> to other things that use the .ffi files and the .cdb files built
> from them, and CREATE-INTERFACES expects there to be a "populate.sh"
> script in the "standard" place.
I see. Thanks!
More information about the Openmcl-devel