diff options
| author | Lua Team <team@lua.org> | 2004-12-30 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2004-12-30 12:00:00 +0000 |
| commit | e2493a40ee611d5a718fd2a81fe67e24c04c91a0 (patch) | |
| tree | 0dca96133b3cd52d262dfa2592ad076fc0ea7852 /build | |
| parent | 226f7859b5392b6680b7e703f9cc7f7f101fd365 (diff) | |
| download | lua-github-5.1-work4.tar.gz | |
Lua 5.1-work45.1-work4
Diffstat (limited to 'build')
| -rwxr-xr-x | build | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -1,36 +0,0 @@ -#!/bin/sh -# -# If you don't want to use make, run this script to build Lua. -# Read config and include/luaconf.h to see what can be customized. - - -# Easiest way to build bin/lua: -# cc -O2 -o bin/lua -Iinclude -Isrc src/*.c src/lib/*.c src/lua/*.c -lm -ldl -# bin/lua test/hello.lua - - -# Easiest way to build Lua libraries and executables: -echo -n 'building core library... ' -cd src -cc -O2 -c -I../include *.c -ar rc ../lib/liblua.a *.o -rm -f *.o - -echo -n 'standard library... ' -cd lib -cc -O2 -c -I../../include *.c -ar rc ../../lib/liblualib.a *.o -rm -f *.o - -echo -n 'lua... ' -cd ../lua -cc -O2 -o ../../bin/lua -I../../include *.c ../../lib/*.a -lm -ldl - -echo -n 'luac... ' -cd ../luac -cc -O2 -o ../../bin/luac -I../../include -I.. *.c ../../lib/*.a - -echo 'done' - -cd ../.. -bin/lua test/hello.lua |
