[Openal-devel] cmake support added
prakash at punnoor.de
Tue Nov 22 06:15:02 PST 2005
Adam D. Moss schrieb:
> Prakash Punnoor wrote:
>>OK, I think the main problem is PIC. So I wonder whether the old build
>>system was wrong or rather "suboptimal". As far as I understood, it
>>compiled code PIC and made a shared and static lib out of it. But the
>>static one doesn't have to be PIC. Esp on low register machines like x86
>>we lose one precious register (ebx) - which is bad performance wise -
>>esp as OpenAL is written for realtime performance using least resources.
> On the one hand you're right, I think. On the other hand, no-one
> in their right mind statically links OpenAL.
True, esp out of licensing reasons (static link -> open source due to
LGPL). So perhaps we should stop building the static lib by default to
not encourage people to use the static lib? People -
who-know-what-they-do (or at least think so;-) could still configure and
compile it for themselves.
BTW, life for me (->cmake) would be a lot easier it we renamed the
static lib. (Windows requires another name for the static lib, as well,
if we look at the big picture...)
//\ Prakash Punnoor /\\
More information about the Openal-devel