Chaosforge Forum
DoomRL => Requests For Features => Topic started by: Carpetsmoker on January 11, 2008, 04:16
-
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.
-
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 -_-.
-
-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..
-
O checked -- you can't. BTW, I'm not using GCC. Nor C at all -- DoomRL is written in FreePascal xP.
-
Just list lua.a alnongside your .o files when linking.
I think you can still include SDL by placing the shared lib in the doomrl directory
You'll also need to have LD_LIBRARY_PATH pointing to the location. But SDL is not a problem anyway.
-
BTW, I can port to anything that you find me a VMWare image file of. So if you want it ported to FreeBSD or 64 bit linux, please provide me with a link to a VMWare image :)
-
Does anyone have a CP/M image?
-
Does anyone have a CP/M image?
Let me rephrase:
"I *MAY* port to other systems, as long as you provide the VMWare image" xP
-
VMWare images for GNU/Linux and FreeBSD can be found at:
http://www.thoughtpolice.co.uk/vmware/