lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Aug 18, 2009 at 3:04 AM, steve donovan<steve.j.donovan@gmail.com> wrote:
> On Mon, Aug 17, 2009 at 11:55 PM, Luiz Henrique de
> Figueiredo<lhf@tecgraf.puc-rio.br> wrote:
>>        cc -shared -o liblua.so *.o
>
> You need a special incantation for OS X
>
> http://blog.yimingliu.com/2008/01/23/building-dynamic-library-on-os-x/
>
> Why they don't just define -shared to mean this? History, I guess.
My best bet is due to the bizarre (to me) two types of libraries
available.  Dylib and bundle... where dylibs are load-once,
never-unload and bundles are IIRR just like linux SOs where they can
be loaded/unloaded.


-- 
Thomas Harning Jr.