Chaosforge Forum

DoomRL => Requests For Features => Topic started by: Carpetsmoker on January 11, 2008, 04:16

Title: Request: Static builds for FreeBSD And GNU/Linux
Post 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.
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Kornel Kisielewicz on January 11, 2008, 06:29
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 -_-.
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Carpetsmoker on January 11, 2008, 15:34
-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..
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Kornel Kisielewicz on January 11, 2008, 16:08
O checked -- you can't. BTW, I'm not using GCC. Nor C at all -- DoomRL is written in FreePascal xP.
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Aerton on January 12, 2008, 01:26
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.
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Kornel Kisielewicz on January 12, 2008, 02:22
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 :)
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Aerton on January 12, 2008, 04:42
Does anyone have a CP/M image?
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Kornel Kisielewicz on January 12, 2008, 05:47
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
Title: Re: Request: Static builds for FreeBSD And GNU/Linux
Post by: Carpetsmoker on January 12, 2008, 07:52
VMWare images for GNU/Linux and FreeBSD can be found at:
http://www.thoughtpolice.co.uk/vmware/