lua-users home
lua-l archive

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


This coud be usefull for someone. How compile luasocket with OpenWrt
Whiterussian buildroot, for MIPSEL platform.
In config file, set variables as follows (the ones not mentioned are the
same as for native building):


# Top of your Lua installation
# Relative paths will be inside the src tree
INSTALL_TOP_SHARE=output/usr/local/share/lua/5.1
INSTALL_TOP_LIB=output/usr/local/lib/lua/5.1

#------
# Compiler and linker settings
CC=mipsel-linux-uclibc-gcc
DEF=-DLUASOCKET_DEBUG
CFLAGS= $(LUAINC) $(DEF) -pedantic -fpic  -O3 -Wall -fmessage-length=0
LDFLAGS=-O -shared -fpic -nodefaultlibs
LD=mipsel-linux-uclibc-gcc



Good luck,

Jorge

Diego Nehab wrote:
> Hi,
>
>> I'd like to beef up the install instructions for LuaSocket 2.0.2. Who
>> would
>> I send a patch to?
>
> That would be me.
>
> Kind regards,
> Diego
>