[Openal-devel] freealut 1.0.0 release candidate 1
Sven.Panne at BenQ.com
Mon Dec 5 02:27:22 PST 2005
sdl-config *does* help you when you want to link statically, just use
"sdl-config --static-libs", but there is no consensus if every
foo-config should have such a flag and how it is called. *sigh*
Furthermore, I haven't seen something similar with pkg-config, I think
more investigation is needed.
I fully agree that dynamic linking is the normal case, but nevertheless
static linking has its uses because it can drastically reduce your
runtime dependencies. Therefore we should at least try to support it in
a sane manner.
Are there any gurus in this slightly confusing area on this list? If
yes, please speak up... :-]
> -----Original Message-----
> From: openal-devel-admin at opensource.creative.com
> [mailto:openal-devel-admin at opensource.creative.com] On Behalf
> Of Prakash Punnoor
> Sent: Montag, 5. Dezember 2005 00:28
> To: openal-devel at opensource.creative.com
> Cc: Sven Panne
> Subject: Re: [Openal-devel] freealut 1.0.0 release candidate 1
> Well, looking at other libs, like eg. SDL, I'd guess only the
> direct dependencies.
> Here you'll get into linking hell: Say you want to compile in
> openal statically and openal was compiled with SDL support.
> Now what? sdl-config won't help you finding out what SDL
> wants as dependencies, so you really are making yourself your
> life more than difficult to get every possible dependency.
> Static linking is evil - and I fail to see where you'd really
> want it. (For using a test shared lib instead of the system
> wide installed one with your executable, you can still use
> LD_PRELOAD, at least in Linux...)
More information about the Openal-devel