More plugin success

Jason Dufair jase at dufair.org
Mon May 24 19:27:49 UTC 2004


This is encouraging, though based on what Tim said earlier, I think I'll
just go with header files and let whomever ports to other platforms link
in whatever way is appropriate.  The theory is that dlopen() should be a
zero-effort port to nearly any platform, but I suspect that the reality
diverges significantly from this.

"Richard A. O'Keefe" <ok at cs.otago.ac.nz> writes:

> Jason Dufair <jase at dufair.org> wrote:
> 	It looks like dlopen() may not be the panacea I'd hoped it would be
> 	since it's apparently not supported on Mac OS X.  But cross-platform
> 	maintenance of the OpenSSL plugin via header files and linking to dll/so
> 	files should be very minimal.
> 	
> Hmm.  On my MacOS X box I just typed
>     man dlopen
> and I get
>     DLOPEN(3) BSD Library Functions Manual
>     NAME dlopen, dlsym, dlerror, dlclose -
>     programmatic interface to the dynamic linker
>     ...
>     All these functions use the native dyld(3), NSModule(3), and
>     NSObjectFileImage(3) functions to provide a compatibility library
>     so that common unix source code may be easily compiled.
>     ...
>     The dlcompat package was written by
>     Jorge Acereda <jacereda at users.sourceforge.net> and
>     Peter O'Gorman <ogorman at users.sourceforge.net>
>
> I haven't tried this yet myself, but it sure _looks_ supported.
> I mean, this package is there out-of-the-box.  (Darwin kernel 7.3.0)
>

-- 
Jason Dufair - jase at dufair.org
http://www.dufair.org/
"Ad in classifieds: Pandora's Box (no box) $5"




More information about the Squeak-dev mailing list