The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
osx and powerpc
uglyoldbob


Joined: 24 Aug 2011
Posts: 3
I have searched everywhere but cannot find the information I am looking for regarding osx 10.5 ppc systems.

http://wiki.libsdl.org/Introduction
This page just says it supports OSX, but no indication of which versions it supports.

What does it take to get or make an SDL2 library that will run on osx 10.5 with a powerpc processor?
osx and powerpc
Ryan C. Gordon
Guest

Quote:
What does it take to get or make an SDL2 library that will run on osx
10.5 with a powerpc processor?

Mostly? An old version of XCode.

Our buildbot still builds SDL 2.0 for PowerPC Mac OS X. But we're likely
to drop support for this target sooner or later, as it's getting
increasingly difficult to support it.

(We build it with the Unix configure scripts, not the Xcode project
files, and no one is testing if the binaries actually work, just that
they compile.)

--ryan.



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
osx and powerpc
D B
Guest

Hi,

We have a precompiled SDL2.framework for x86, ppc, and x86_64 found here:
https://code.google.com/p/bitfighter/source/browse/#hg%2Flib

It is revision 70b305e09b4e which is somewhere between 2.0.0 and
2.0.1. Also, if you look in the lib/patches directory, you'll see two
patches I applied to SDL2 to be able to compile this with OSX 10.4
compatibility against this revision.

It has been tested and known to work on a 10.5 and a 10.4 ppc machine.
But admittedly the test user base is shrinking dramatically...

Hope this helps,
D

On Mon, Dec 23, 2013 at 5:07 PM, Ryan C. Gordon wrote:
Quote:

Quote:
What does it take to get or make an SDL2 library that will run on osx
10.5 with a powerpc processor?


Mostly? An old version of XCode.

Our buildbot still builds SDL 2.0 for PowerPC Mac OS X. But we're likely to
drop support for this target sooner or later, as it's getting increasingly
difficult to support it.

(We build it with the Unix configure scripts, not the Xcode project files,
and no one is testing if the binaries actually work, just that they
compile.)

--ryan.



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Re: osx and powerpc
uglyoldbob


Joined: 24 Aug 2011
Posts: 3
D B wrote:
Hi,

We have a precompiled SDL2.framework for x86, ppc, and x86_64 found here:
https://code.google.com/p/bitfighter/source/browse/#hg%2Flib

It is revision 70b305e09b4e which is somewhere between 2.0.0 and
2.0.1. Also, if you look in the lib/patches directory, you'll see two
patches I applied to SDL2 to be able to compile this with OSX 10.4
compatibility against this revision.

It has been tested and known to work on a 10.5 and a 10.4 ppc machine.
But admittedly the test user base is shrinking dramatically...

Hope this helps,
D

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


What platform and osx version did you do the compile on?
I understand you probably used the unix style configure and build. What were the commands you gave for the build process?

I currently use autotools on a cross platform game I am working with and build on osx just like on i build on the other platforms. I made a custom autotools check that checks for the existence of a library with the -framework option to gcc. (Its a modified form of the -l checks for libraries)

Also, I have a G5 powerpc mac that I would be willing to do some testing with for SDL2. It is on osx 10.5.8
osx and powerpc
D B
Guest

I applied the two patches in the 'patches' sub-directory against revision 70b305e09b4e.  I then just used the Xcode project to do a 'Release' compile.


I used Xcode 3.2.x on OSX 10.6.  This is a system I keep around for just this purpose.  As far as I know, no newer version of Xcode will compile in this manner.



On Tue, Dec 24, 2013 at 12:06 PM, uglyoldbob wrote:
Quote:



D B wrote:

Hi,

We have a precompiled SDL2.framework for x86, ppc, and x86_64 found here:
https://code.google.com/p/bitfighter/source/browse/#hg%2Flib

It is revision 70b305e09b4e which is somewhere between 2.0.0 and
2.0.1. Also, if you look in the lib/patches directory, you'll see two
patches I applied to SDL2 to be able to compile this with OSX 10.4
compatibility against this revision.

It has been tested and known to work on a 10.5 and a 10.4 ppc machine.
But admittedly the test user base is shrinking dramatically...

Hope this helps,
D


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org





What platform and osx version did you do the compile on?
I understand you probably used the unix style configure and build. What were the commands you gave for the build process?

I currently use autotools on a cross platform game I am working with and build on osx just like on i build on the other platforms. I made a custom autotools check that checks for the existence of a library with the -framework option to gcc. (Its a modified form of the -l checks for libraries)

Also, I have a G5 powerpc mac that I would be willing to do some testing with for SDL2. It is on osx 10.5.8


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

nanard


Joined: 28 Oct 2015
Posts: 2
I patched SDL2 2.0.3 to be able to compile with OS X 10.5.8 on a G4 :
https://gist.github.com/miniupnp/a8f474c504eaa3ad9135

I even made the same for OS X 10.4, but that is ugly Smile
https://gist.github.com/miniupnp/26d6e967570e5729a757
you'll need $ ./configure --without-x --disable-haptic --disable-joystick

I tested and the SDL2 OpenDUNE version works not that bad :)

I think I should improve the #if
Maybe it is better to use #if defined(MAC_OS_X_VERSION_10_7)
to check if we are compiling with SDK 10.7 or newer...
nanard


Joined: 28 Oct 2015
Posts: 2
I patched SDL2 2.0.3 to be able to compile with OS X 10.5.8 on a G4 :
https://gist.github.com/miniupnp/a8f474c504eaa3ad9135

I even made the same for OS X 10.4, but that is ugly Smile
https://gist.github.com/miniupnp/26d6e967570e5729a757
you'll need $ ./configure --without-x --disable-haptic --disable-joystick

I tested and the SDL2 OpenDUNE version works not that bad :)

I think I should improve the #if
Maybe it is better to use #if defined(MAC_OS_X_VERSION_10_7)
to check if we are compiling with SDK 10.7 or newer...