[Openmcl-devel] Darwin and shared libraries
desoi at mac.com
Tue Apr 2 01:26:30 EST 2002
>As an aside, how many people actually read this?
No idea. I just started looking into OpenMCL a few days ago.
>ffigen is a good start, but what I really want is to be able to
>build atomic package
>interfaces so that a developer can say (use-foreign-interface "X11") and get
>everything in one shot. At a minimum that means:
> importing all the functions and symbols from libX11
> importing all the type definitions from X11.h and friends
>and in a more perfect world, we would get a set of wrappers so that
>types would get translated into the appropriate C typed objects
>the developer to explicitly cast everything.
Sounds very cool. Especially to some one who just finished writing
140 foreign function definitions.
>I'd really like to get a gcc based ffigen for Darwin - I'll be happy
>to write it if necessary
>but I'd rather play with MCL internals then GCC internals (been
>there, done that).
>Does it exist?
The only .h file parser I know about is here:
From the interface files that come with the commercial MCL, I can
tell they have a pretty nice tool that creates the files. I asked
about it on the list a while back but did not get any responses.
John DeSoi, Ph.D.
Openmcl-devel mailing list
Openmcl-devel at clozure.com
More information about the Openmcl-devel