Warning on recent OSX clean-up with SDK < 10.5

For anyone still compiling for SDL2 on OSX 10.4 (which we are [I know, we should get with the times…]), just a forewarning: You’ll have to
revert hg 885b4aab4190.

D

P.S. We only still compile for such an old OS because we still have
some players with old Mac PPC machines that won’t die, and our
community is small enough that we want every player we can get! :slight_smile:

SDL2 doesn’t (and will not) officially support OS 10.4, as far as I know.
PowerPC Macs can run OS 10.5 (although PPC isn’t officially supported
either, I think.)On 2013-07-24, at 1:47 AM, D B wrote:

For anyone still compiling for SDL2 on OSX 10.4 (which we are [I know, we should get with the times…]), just a forewarning: You’ll have to
revert hg 885b4aab4190.

D

P.S. We only still compile for such an old OS because we still have
some players with old Mac PPC machines that won’t die, and our
community is small enough that we want every player we can get! :slight_smile:


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

I am aware that SDL2 doesn’t support 10.4 and older. I have seen some
others (like myself) try and support it anyways, which is why I sent
out the e-mail (and it was still supported out-of-the-box until that
changeset). PPC is officially supported.On Tue, Jul 23, 2013 at 10:50 PM, Alex Szpakowski wrote:

SDL2 doesn’t (and will not) officially support OS 10.4, as far as I know.
PowerPC Macs can run OS 10.5 (although PPC isn’t officially supported
either, I think.)

On 2013-07-24, at 1:47 AM, D B <@D_B> wrote:

For anyone still compiling for SDL2 on OSX 10.4 (which we are [I know, we should get with the times…]), just a forewarning: You’ll have to
revert hg 885b4aab4190.

D

P.S. We only still compile for such an old OS because we still have
some players with old Mac PPC machines that won’t die, and our
community is small enough that we want every player we can get! :slight_smile:


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


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

I am aware that SDL2 doesn’t support 10.4 and older. I have seen some
others (like myself) try and support it anyways, which is why I sent
out the e-mail (and it was still supported out-of-the-box until that
changeset). PPC is officially supported.

A few weeks ago I tried to compile the then recent SDL 2 on OSX 10.4,
but got compile errors. Didn’t look into that due to lack of time.

For me, that old box is the only way to make sure my code works on
big-endian systems, and it’s so old it will not run OSX 10.5.

Not quite sure if it is worth these days to even support big endian
systems, but I’d be quite happy to have SDL 2 working on that system,
whether officially supported or not. If some tweaks or patches be
neccessary to get it to compile, that’s okay too, but please do not
artificially cripple support when it’s not really neccessary.

KaiOn Wed, Jul 24, 2013 at 7:12 AM, D B wrote:

2013/7/24, Kai Sterker <kai.sterker at gmail.com>:

Not quite sure if it is worth these days to even support big endian
systems, but I’d be quite happy to have SDL 2 working on that system,
whether officially supported or not.

I believe some mobile systems are big endian (remember ARM can be both
big and little endian, depending how the chip was configured).

What is the motivation to target 10.4 instead of 10.5? Do not both support PPC?

Kind regards,
J?rgen P. Tjern?.
(Sent using a touchscreen keyboard)On Jul 23, 2013, at 21:47, “D B” wrote:

For anyone still compiling for SDL2 on OSX 10.4 (which we are [I know, we should get with the times…]), just a forewarning: You’ll have to
revert hg 885b4aab4190.

D

P.S. We only still compile for such an old OS because we still have
some players with old Mac PPC machines that won’t die, and our
community is small enough that we want every player we can get! :slight_smile:


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

He said he’s testing on a system that can’t be upgraded to 10.5.

2013/7/24, Jorgen Tjerno :> What is the motivation to target 10.4 instead of 10.5? Do not both support

PPC?

Kind regards,
J?rgen P. Tjern?.
(Sent using a touchscreen keyboard)

On Jul 23, 2013, at 21:47, “D B” wrote:

For anyone still compiling for SDL2 on OSX 10.4 (which we are [I know, we should get with the times…]), just a forewarning: You’ll have to
revert hg 885b4aab4190.

D

P.S. We only still compile for such an old OS because we still have
some players with old Mac PPC machines that won’t die, and our
community is small enough that we want every player we can get! :slight_smile:


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


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

He said he’s testing on a system that can’t be upgraded to 10.5.

Correct. It’s a 2002 iBook G3/800 with 256MB. OSX 10.5 requires at
least G4 CPU and 512MB of RAM.

KaiOn Wed, Jul 24, 2013 at 10:11 AM, Sik the hedgehog <sik.the.hedgehog at gmail.com> wrote:

What is the motivation to target 10.4 instead of 10.5? Do not both support
PPC?

As far as I remember the OS X way to handle fullscreen changed 4 times
until last release, so it’s quite tricky for SDL to support them all. PPC
was dropped, at least officially, because binaries containing ppc
architecture get rejected from the Mac App Store.

VittorioOn Wed, Jul 24, 2013 at 10:05 AM, Jorgen Tjerno wrote:

He said he’s testing on a system that can’t be upgraded to 10.5.

Correct. It’s a 2002 iBook G3/800 with 256MB. OSX 10.5 requires at
least G4 CPU and 512MB of RAM.

Fwiw, the buildbot that makes PowerPC builds is running Intel 10.6. I
can’t remember what tapdancing was required to make that work, but
clearly it can be done. Maybe throw out the iBook? :slight_smile:

–ryan.

Yes. PPC doesn’t have an issue and compiles fine. It’s the removal
of OSX 10.4 compatible code, and the #error directives.

For what it’s worth, I’m not opposed to this change: it’s time to move
forward. I only thought it worth mentioning that for a small subset
of us, we’d have to patch SDL2 for 10.4 (which I don’t mind doing).On Wed, Jul 24, 2013 at 9:26 AM, Ryan C. Gordon wrote:

He said he’s testing on a system that can’t be upgraded to 10.5.

Correct. It’s a 2002 iBook G3/800 with 256MB. OSX 10.5 requires at
least G4 CPU and 512MB of RAM.

Fwiw, the buildbot that makes PowerPC builds is running Intel 10.6. I can’t
remember what tapdancing was required to make that work, but clearly it can
be done. Maybe throw out the iBook? :slight_smile:

–ryan.


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

Fwiw, the buildbot that makes PowerPC builds is running Intel 10.6. I can’t
remember what tapdancing was required to make that work, but clearly it can
be done. Maybe throw out the iBook? :slight_smile:

No way! :slight_smile: That is one piece of quality hardware. Doubt you’ll find
anything like it nowadays. (Honestly, I’m still amazed that it is
working at all, after all those years, especially now that it is
getting practically no use at all).

More on topic: as I am not really planning to release anything for
10.4, I can live with an older snapshot of SDL 2.0 for my testing. I
don’t care much about fullscreen working or not, as long as my data
files and saved games load on a big endian box and the graphics show
the proper colours.

Kai

P.S: Is the buildbot only compiling for PPC, or also executing the
compiled code (unit tests)?On Wed, Jul 24, 2013 at 5:26 PM, Ryan C. Gordon wrote:

P.S: Is the buildbot only compiling for PPC, or also executing the
compiled code (unit tests)?

Just compiling. As long as the buildbot never moves past 10.6, we could
theoretically run it under Rosetta, but…honestly, it’s really probably
time to pull the plug on the Mac PowerPC support entirely. Apple’s made
it too difficult to support it, and we’re closing in on a decade since
they shipped a PowerPC Mac anyhow.

–ryan.