Chaosforge Forum

  • March 28, 2024, 12:29
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Request: Static builds for FreeBSD And GNU/Linux  (Read 5071 times)

Carpetsmoker

  • Private FC
  • *
  • Offline Offline
  • Posts: 11
  • Nexus-6
    • View Profile
    • DaemonForums
Request: Static builds for FreeBSD And GNU/Linux
« 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.
« Last Edit: January 11, 2008, 04:18 by Carpetsmoker »
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #1 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 -_-.
Logged
at your service,
Kornel Kisielewicz

Carpetsmoker

  • Private FC
  • *
  • Offline Offline
  • Posts: 11
  • Nexus-6
    • View Profile
    • DaemonForums
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #2 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..
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #3 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.
Logged
at your service,
Kornel Kisielewicz

Aerton

  • Elder Chaos Guard
  • First Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 205
    • View Profile
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #4 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.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #5 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 :)
Logged
at your service,
Kornel Kisielewicz

Aerton

  • Elder Chaos Guard
  • First Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 205
    • View Profile
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #6 on: January 12, 2008, 04:42 »

Does anyone have a CP/M image?
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #7 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
Logged
at your service,
Kornel Kisielewicz

Carpetsmoker

  • Private FC
  • *
  • Offline Offline
  • Posts: 11
  • Nexus-6
    • View Profile
    • DaemonForums
Re: Request: Static builds for FreeBSD And GNU/Linux
« Reply #8 on: January 12, 2008, 07:52 »

VMWare images for GNU/Linux and FreeBSD can be found at:
http://www.thoughtpolice.co.uk/vmware/
Logged
Pages: [1]