[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: building lua 5.1.4 as a shared lib on os x and intel x86_64
- From: "Thomas Harning Jr." <harningt@...>
- Date: Tue, 18 Aug 2009 09:24:52 -0400
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.