> BTW, I would love to see lua in an amalgamated version See this message of exactly 2 years ago: http://lua-users.org/lists/lua-l/2011-12/msg00249.html You'll need to provide your own compilation and link flags, e.g.: cc -O2 -DLUA_USE_LINUX one.c -lm -ldl -lreadline -Wl,-E See src/Makefile in the distribution for those.