bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] OS/X check in


From: Michael Petch
Subject: [Bug-gnubg] OS/X check in
Date: Wed, 09 Apr 2008 15:58:17 -0600
User-agent: Microsoft-Entourage/11.4.0.080122

Howdy,

I have put away changes to support OS/X sound with Quicktime (The way it was
previously), and fixed up the multithreaded code to only align the stack on
X86 processors. I am unsure this has to be done on the PPC and other
processors so I have ifdef'ed it out if the target of the build is not Intel
x86 (or x86_64).

ESD on OS/X seems to be giving me some trouble (And I am launching the ESD
daemon prior to running gnu). Achim mentioned he was getting no sound. This
was what triggered this change. For the time being I have ported the
Quicktime code (and replaced deprecated functions) that use to be used on
Apple OS/X platforms.

After  using Macports (www.macports.org) to install all the prerequisites,
you can pretty much do a build by pulling out the code from cvs and issue
these commands for PPC OS/X (Leapard 10.5):

./autogen.sh
export LDFLAGS="-dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dyli
b -framework QuickTime"
./configure --enable-threads --enable-sse=no
make install

On Intel OS/X (Leapard 10.5):

./autogen.sh
export LDFLAGS="-dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dyli
b -framework QuickTime"
./configure --enable-threads
make install


----

Of course autogen only has to be run once (unless changes to configure.in
are made - which is the case this time). And of course you may build with
and without threads etc. SSE has to be explicitly turned off for PPC.

People should be able to use FINK instead of macports however at this time
there are issues with FINK (including but not limited to pangocairo issue)
on the 10.5 platform.

These changes should also work for 10.4 (Tiger OS/X) as well. I will be
posting a followup message this evening regarding "packaging"
concerns/comments for OS/X.

Mike






reply via email to

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