How do you make shared libraries on Mac OS X ?

Rodney Sparapani rsparapa at mcw.edu
Tue Mar 6 10:17:58 EST 2007


Didier Verna wrote:
> Stephen J. Turnbull wrote:
> 
>> Didier Verna writes:
>>
>>  > I can't compile XEmacs 21.4 on Mac OS X with external widget
>>  > support because the syntax for making shared libraries is not the
>>  > same as on other platforms.
>>
>> I don't see the problem.  I've been building the external widget for
>> years, although I haven't tested it recently.  I just don't use shared
>> libraries.  Why do you need a shared library?
> 
> libextcli_Xt.so.1 and libextcli_Xlib.so.1 are shared libraries.
> 

Mach-O shared libraries don't behave exactly the same way that ELF 
shared libraries do, so they are not quite the same thing.  Take a look at:

http://www.finkproject.org/doc/porting/shared.php?phpLang=en#lib-and-mod

Rodney



More information about the XEmacs-Beta mailing list