Compiling on Mac OS 10.6

Hi,
is it possible to build SDL with Xcode 3?

The readme states, that you need at least Xcode 4 and OSX 10.7, but I
only get 5 compile errors from undefined symbols. Can this be fixed
somehow without defining them yourself?

(the resulting binary wouldn’t be compatible with Lion of course)

Of I recall correctly, there is a ‘final-10.6-supported’ tag or branch in the Hg repo. Check out http://hg.libsdl.org

– Aggelos KolaitisOn 15 ??? 2014, at 5:52 ?.?., Robotic-Brain wrote:

Hi,
is it possible to build SDL with Xcode 3?

The readme states, that you need at least Xcode 4 and OSX 10.7, but I only get 5 compile errors from undefined symbols. Can this be fixed somehow without defining them yourself?

(the resulting binary wouldn’t be compatible with Lion of course)


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

Hi,

We compiled SDL2 (at version 2.0.1) with Xcode 3.2.6. The patches we
used to enable OSX 10.4 compatibility are here:
https://code.google.com/p/bitfighter/source/browse/#hg%2Flib%2Fpatches

See the README file for more details. Hope this helps.On Tue, Jul 15, 2014 at 10:08 AM, wrote:

Of I recall correctly, there is a ‘final-10.6-supported’ tag or branch in the Hg repo. Check out http://hg.libsdl.org

– Aggelos Kolaitis

On 15 ??? 2014, at 5:52 ?.?., Robotic-Brain wrote:

Hi,
is it possible to build SDL with Xcode 3?

The readme states, that you need at least Xcode 4 and OSX 10.7, but I only get 5 compile errors from undefined symbols. Can this be fixed somehow without defining them yourself?

(the resulting binary wouldn’t be compatible with Lion of course)


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

After looking at the code It seems like the main problem is all the
fullscreen stuff added in OSX Lion, so unfortunately a completely
different issue.

Thanks for the help though.

Does anyone know when the 10.6 SDK builds were dropped?Am 15.07.2014 18:21, schrieb D B:

Hi,

We compiled SDL2 (at version 2.0.1) with Xcode 3.2.6. The patches we
used to enable OSX 10.4 compatibility are here:
https://code.google.com/p/bitfighter/source/browse/#hg%2Flib%2Fpatches

See the README file for more details. Hope this helps.

On Tue, Jul 15, 2014 at 10:08 AM, wrote:

Of I recall correctly, there is a ‘final-10.6-supported’ tag or branch
in the Hg repo. Check out http://hg.libsdl.org

– Aggelos Kolaitis

On 15 ??? 2014, at 5:52 ?.?., Robotic-Brain <@Robotic-Brain> wrote:

Hi,
is it possible to build SDL with Xcode 3?

The readme states, that you need at least Xcode 4 and OSX 10.7, but I
only get 5 compile errors from undefined symbols. Can this be fixed
somehow without defining them yourself?

(the resulting binary wouldn’t be compatible with Lion of course)


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


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

I found it already:

8083:3782a12331d6 Bump SDL to build with 10.7 SDK.

Why was the build support for 10.6 dropped?
Since SDL still supports 10.6 I think it’s reasonable to assume, that
you would be able to build it there as well.Am 16.07.2014 03:01, schrieb Robotic-Brain:

After looking at the code It seems like the main problem is all the
fullscreen stuff added in OSX Lion, so unfortunately a completely
different issue.

Thanks for the help though.

Does anyone know when the 10.6 SDK builds were dropped?

Am 15.07.2014 18:21, schrieb D B:

Hi,

We compiled SDL2 (at version 2.0.1) with Xcode 3.2.6. The patches we
used to enable OSX 10.4 compatibility are here:
https://code.google.com/p/bitfighter/source/browse/#hg%2Flib%2Fpatches

See the README file for more details. Hope this helps.

On Tue, Jul 15, 2014 at 10:08 AM, wrote:

Of I recall correctly, there is a ‘final-10.6-supported’ tag or
branch in the Hg repo. Check out http://hg.libsdl.org

– Aggelos Kolaitis

On 15 ??? 2014, at 5:52 ?.?., Robotic-Brain <@Robotic-Brain> wrote:

Hi,
is it possible to build SDL with Xcode 3?

The readme states, that you need at least Xcode 4 and OSX 10.7, but
I only get 5 compile errors from undefined symbols. Can this be
fixed somehow without defining them yourself?

(the resulting binary wouldn’t be compatible with Lion of course)


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


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

Keeping code clean reduces the chance for bugs and makes the codebase more maintainable - or put the other way, having many branches based on OS versions increases the chance for bugs and makes it more difficult to add features or change the code in the future.

Most developers who write code for OS X tend to use recent development tools (which I suspect is the case with the SDL developers), which means supporting relatively ancient build systems which don’t even affect runtime compatibility is not very appealing and not particularly useful.

Because the Mac application and framework ecosystem is very different from that of Linux (applications are typically built a single time on the developer?s machine, and the final binary is what?s used by the users), build-time support for multiple OS versions is much less important, since the developer generally uses a modern operating system but they can still choose to have a very old one as the minimum supported runtime version without needing to support old development tools.

The OS X userbase in general also tends to have much quicker uptake on new OS versions compared to the userbase of other desktop operating systems. About 75% of people who play games in OS X use an OS version released less than a year ago[1][2], and many recent Mac applications don?t support OS 10.6 (or sometimes 10.7) at runtime anymore.

[2]: http://store.steampowered.com/hwsurvey/On Jul 15, 2014, at 10:11 PM, Robotic-Brain wrote:

I found it already:

8083:3782a12331d6 Bump SDL to build with 10.7 SDK.

Why was the build support for 10.6 dropped?
Since SDL still supports 10.6 I think it’s reasonable to assume, that you would be able to build it there as well.


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

Why was the build support for 10.6 dropped?
Since SDL still supports 10.6 I think it’s reasonable to assume, that you
would be able to build it there as well.

There is an XCode 4 version for snow leopard that can build SDL (using the
proper 10.7 SDK).

Apple used to sell it through appstore, now I think the only way you can
find it is through torrents (search xcode 4 snow leopard).–
Bye,
Gabry

The highest version I could find that way was 4.2 which seems to be just
one version below the one I need :frowning:
I’m not that experienced with torrents though, so I only searched the
piratebay

Can someone send me only the SDK part of Xcode? (The AppStore doesn’t
even let you download it If you have the wrong system)
I’m compiling from terminal anyways.Am 16.07.2014 12:53, schrieb Gabriele Greco:

Why was the build support for 10.6 dropped?
Since SDL still supports 10.6 I think it’s reasonable to assume,
that you would be able to build it there as well.

There is an XCode 4 version for snow leopard that can build SDL (using
the proper 10.7 SDK).

Apple used to sell it through appstore, now I think the only way you
can find it is through torrents (search xcode 4 snow leopard).

–?
Bye,
?Gabry


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