Topic: Static compiling
Is it possible to compile lua statically into INSTEAD? How can I achieve this?
I want to create package of INSTEAD for Slax (Linux live distribution) and I want to minimize dependencies.
You are not logged in. Please login or register.
INSTEAD Community Forum is MOVED → INSTEAD → Static compiling
Is it possible to compile lua statically into INSTEAD? How can I achieve this?
I want to create package of INSTEAD for Slax (Linux live distribution) and I want to minimize dependencies.
Yes, of course you can do this. Just use own copy of lua and patch Makefiles.
Any hint how to do it? I am not good at patching makefiles...
Hints
1) make src/lua - unpack there lua-5.1
2) add to Makefile rule to build lua
3) add to LUA_LDFLAGS path to .a file
4) add to LUA_CFLAGS path to lua headers
PROFIT
You are slackware user, so, i think you can find right way. Currently i have not time to make patch myself.
INSTEAD Community Forum is MOVED → INSTEAD → Static compiling
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 7 official extensions. Copyright © 2003–2010 PunBB.