[Freeciv-Dev] Re: request for --disable-sound
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
Ben
--
ben@xxxxxxxxxxxxxxxxxxxxxx http://bellatrix.pcl.ox.ac.uk/~ben/
"If we don't succeed, we run the risk of failure."
- J. Danforth Quayle
|
|