Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: request for --disable-sound

[Freeciv-Dev] Re: request for --disable-sound

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: request for --disable-sound
From: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 31 Aug 2002 18:17:28 +0100

On Sat, Aug 31, 2002 at 01:25:39AM +0000, Per I. Mathisen wrote:
> On Sat, 22 Jun 2002, Ben Webb wrote:
> >     Well, here's a patch to current CVS. On systems with the dlopen
> > function and thegcc compiler, the various audio modules are not linked
> > in to the client binary, but are built as dynamic libraries (plugins).
> What happens on systems without dlopen and gcc?

The same as what happens now - i.e. the "plugins" are statically linked
into the civclient binary.

> Which systems don't have dlopen?

        Windows, BeOS, Darwn and HP-UX have different mechanisms
(LoadLibrary, load_add_on, NSLinkModule, and shl_load, respectively) - but
you could use GModule from the GTK people to cover these if you desperately
wanted to. I imagine there are systems out there that have none of these
mechanisms though.

> Can you get this patch through the "let's keeping things compatible with
> Sun cc" mob?

Yes, because without gcc and dlopen, the behaviour is the same as in
current CVS - the modules are statically linked in.

"If we don't succeed, we run the risk of failure."
         - J. Danforth Quayle

[Prev in Thread] Current Thread [Next in Thread]