Lua
From Chumby Wiki
Revision as of 15:37, 2 April 2007 by 207.182.251.224 (Talk)
Building lua
- download and unpack the lua source distribution [1].
- edit src/Makefile
- line 10
CC=arm-linux-gcc
- line 12
AR=arm-linux-ar
- line 13
RANLIB=arm-linux-ranlib
- line 99, remove -lreadline -lhistory -lncurses
- line 10
- edit src/luaconf.h, comment out line 39 (disable LUA_USE_READLINE)
- do:
make linux
- copy src/lua to a USB dongle - there are example programs in the "test/" directory
- run programs!