How do you make shared libraries on Mac OS X ?

Didier Verna didier at xemacs.org
Mon Mar 5 08:35:55 EST 2007


        Hello,

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 know about XEmacs 21.5; I can't use it so I don't have it handy.

With the very few minutes that I had this weekend, I spotted that the culprit
is the -shared option which doesn't exist on Darwin gcc; it has a -dynamiclib
option or something, but just using that instead wasn't enough to fix the
problem. I don't have time to look into it further.

Could someone already knowledgeable in Mac OS X system have a look at it
please ?


Thank you very much.

-- 
Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier at xemacs.org



More information about the XEmacs-Beta mailing list