DRL > Requests For Features
Request: Static builds for FreeBSD And GNU/Linux
Carpetsmoker:
Is it possible to make static builds for future versions?
Both the FreeBSD and GNU/Linux builds of DoomRL are shared builds (Same for AlienRL).
Unfortunately, neither of them seem to work for me on FreeBSD, the lua5.1 port doesn't seem to install a shared library (ugh?!), and there is no linux-smpeg port (yet).
Both problems can be fixed ... But a better fix is to provide static builds for DoomRL and AlienRL or to include the required shared libraries with the download.
Thank you.
Kornel Kisielewicz:
As far as Lua goes, I'll do as you say -- it'll be statically compiled into DoomRL. However, I can't statically compile SDL into DoomRL because SDL is LGPL-licensed.
As for the moment I don't know how to statically bind libraries anyway -_-.
Carpetsmoker:
-static to gcc
I think you can still include SDL by placing the shared lib in the doomrl directory ... But I'm not 100% sure about this..
Kornel Kisielewicz:
O checked -- you can't. BTW, I'm not using GCC. Nor C at all -- DoomRL is written in FreePascal xP.
Aerton:
Just list lua.a alnongside your .o files when linking.
--- Quote from: Carpetsmoker on January 11, 2008, 15:34 ---I think you can still include SDL by placing the shared lib in the doomrl directory
--- End quote ---
You'll also need to have LD_LIBRARY_PATH pointing to the location. But SDL is not a problem anyway.
Navigation
[0] Message Index
[#] Next page
Go to full version