lua-users home
lua-l archive

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

Hmm.  Can you suggest what I could do to get lua_pushnil (or any other Lua
API function that I would call) recognized without linking in the whole Lua
library?   Do you know if this is merely caused by my having lualib.a in a
nonstandard location, or is there something more fundamental?

Mark F. Morss
Principal Analyst, Market Risk
American Electric Power

             Alex Queiroz                                                  
             om>                                                        To 
             Sent by:                  Lua list                            
             lua-bounces@bazar         <>       
                                       Re: SUCCESS installing Lua 5.1 on   
             02/15/2006 07:07          AIX 5.2                             
             Please respond to                                             
                 Lua list                                                  


On 2/14/06, <> 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
> -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.