lua-users home
lua-l archive

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


Hallo,

On 2/14/06, mfmorss@aep.com <mfmorss@aep.com> wrote:
> I finally been able to demonstrate that have Lua 5.1 running with dynamic
> loading on AIX 5.2.  With Lua in a nonstandard directory "/mydirectory",
> the correct command to compile dummy.c (specified below) was:
>
> xlc -I/mydirectory/include -L/mydirector/lib -llua -lm -o dummy.so
> -qmkshrobj dummy.c
>

     There may be a problem, tough. The whole Lua library is being
linked into the dummy module, which is undesirable. This can quickly
take much space if you are going to use lots of modules.

--
-alex
http://www.ventonegro.org/